Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009604/0.0009604, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009552/0.0009552, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9786/0.9786, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.801/1.801, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.632e-05, allocations: 4.422 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001887/0.001903, allocations: 1.578 MB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.003228, allocations: 0.8042 MB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.003293, allocations: 1.406 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.003322, allocations: 3.938 kB / 0.7899 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.013e-05/0.003413, allocations: 28.78 kB / 0.7899 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.0039, allocations: 147.4 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.004005, allocations: 105.2 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.082e-05/0.004076, allocations: 8.219 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.004196, allocations: 71.81 kB / 0.7902 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.004247, allocations: 39.81 kB / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.004265, allocations: 8.594 kB / 0.7902 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.004439, allocations: 135.7 kB / 0.7904 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.004463, allocations: 25.56 kB / 0.7904 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.004495, allocations: 31.91 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.004684, allocations: 167.5 kB / 0.7906 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004685, allocations: 0 / 0.7906 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.71e-07/0.004686, allocations: 0.8438 kB / 0.7906 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.004689, allocations: 0 / 0.7906 GB, free: 9.094 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004576/0.005147, allocations: 0.5096 MB / 0.7911 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.00518, allocations: 17.38 kB / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.005342, allocations: 32.86 kB / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.005462, allocations: 150.4 kB / 0.7913 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.005477, allocations: 4.375 kB / 0.7913 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.005487, allocations: 4.375 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.00559, allocations: 74.91 kB / 0.7914 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.005598, allocations: 4.125 kB / 0.7914 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.005606, allocations: 2.656 kB / 0.7914 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.005612, allocations: 7.938 kB / 0.7914 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.005652, allocations: 19.98 kB / 0.7914 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.005941, allocations: 280.3 kB / 0.7917 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.974e-05/0.006041, allocations: 63.89 kB / 0.7917 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.006068, allocations: 28.2 kB / 0.7917 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.006085, allocations: 0 / 0.7917 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.186e-05/0.006176, allocations: 94.55 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.006178, allocations: 4 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001954/0.006373, allocations: 133.7 kB / 0.792 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.006401, allocations: 56.06 kB / 0.792 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.006478, allocations: 187.8 kB / 0.7922 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.00649, allocations: 30.98 kB / 0.7922 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.006536, allocations: 142.8 kB / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.006558, allocations: 31.73 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.006596, allocations: 39.34 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.0067, allocations: 0.4934 MB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.00672, allocations: 11.98 kB / 0.7929 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.006767, allocations: 66.09 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.00684, allocations: 91.36 kB / 0.7931 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006841, allocations: 5.75 kB / 0.7931 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001112/0.006953, allocations: 109.5 kB / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.006965, allocations: 11.94 kB / 0.7932 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006969, allocations: 0.875 kB / 0.7932 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.006979, allocations: 0 / 0.7932 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.007045, allocations: 21.55 kB / 0.7932 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.007051, allocations: 7.938 kB / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.007092, allocations: 19.88 kB / 0.7932 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.0071, allocations: 4 kB / 0.7932 GB, free: 6.117 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.918e-05/0.007169, allocations: 168.7 kB / 0.7934 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.007186, allocations: 15.89 kB / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.007333, allocations: 138.6 kB / 0.7936 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.007336, allocations: 4 kB / 0.7936 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.007337, allocations: 0 / 0.7936 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.00734, allocations: 3.938 kB / 0.7936 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.00761, allocations: 380.9 kB / 0.7939 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.007611, allocations: 0 / 0.7939 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.007642, allocations: 15.92 kB / 0.7939 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007643, allocations: 0 / 0.7939 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.00765, allocations: 4.5 kB / 0.7939 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007651, allocations: 1.938 kB / 0.7939 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.007652, allocations: 0 / 0.7939 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.0078, allocations: 267.8 kB / 0.7942 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.00781, allocations: 15.84 kB / 0.7942 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.007824, allocations: 3.984 kB / 0.7942 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.646e-05/0.00787, allocations: 6.375 kB / 0.7942 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.007903, allocations: 15.97 kB / 0.7942 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.007914, allocations: 7.938 kB / 0.7943 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.059e-05/0.007955, allocations: 137.2 kB / 0.7944 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007955, allocations: 0 / 0.7944 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001857/0.008141, allocations: 51.92 kB / 0.7944 GB, free: 4.855 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002349/0.008375, allocations: 176.8 kB / 0.7946 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.008473, allocations: 59.58 kB / 0.7947 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.008476, allocations: 4.719 kB / 0.7947 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.599e-05/0.008522, allocations: 41.84 kB / 0.7947 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.008717, allocations: 26.73 kB / 0.7947 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.009113, allocations: 228.9 kB / 0.7949 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.009145, allocations: 63.34 kB / 0.795 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.009174, allocations: 10.89 kB / 0.795 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.009237, allocations: 86.14 kB / 0.7951 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.009238, allocations: 3.938 kB / 0.7951 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of Templates: time 0.003638/0.01288, allocations: 2.277 MB / 0.7973 GB, free: 1.879 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.925746790133417]