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.001022/0.001022, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001105/0.001105, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 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 1.021/1.021, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.738/1.738, allocations: 359 MB / 0.6052 GB, free: 11 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.412e-06/1.412e-06, allocations: 0 / 0.7871 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.498e-05, allocations: 9.266 kB / 0.7871 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002158/0.002183, allocations: 1.584 MB / 0.7886 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.00331, allocations: 0.8077 MB / 0.7894 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.003378, allocations: 1.938 kB / 0.7894 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.003418, allocations: 7.875 kB / 0.7894 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.003522, allocations: 23.8 kB / 0.7894 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.004196, allocations: 152 kB / 0.7896 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.004333, allocations: 95.7 kB / 0.7897 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.004424, allocations: 9.078 kB / 0.7897 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.004581, allocations: 83.67 kB / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.984e-05/0.004641, allocations: 33.12 kB / 0.7898 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.004665, allocations: 8 kB / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.004883, allocations: 139.7 kB / 0.7899 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.004909, allocations: 25.31 kB / 0.7899 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.004951, allocations: 27.92 kB / 0.79 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.005196, allocations: 163.5 kB / 0.7901 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.005201, allocations: 9.047 kB / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.203e-06/0.005202, allocations: 0 / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.005208, allocations: 0 / 0.7901 GB, free: 9.207 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.000586/0.005794, allocations: 0.5104 MB / 0.7906 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.005833, allocations: 12.03 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.006033, allocations: 34.47 kB / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.006206, allocations: 140.4 kB / 0.7908 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.00623, allocations: 8.375 kB / 0.7908 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.006243, allocations: 6.156 kB / 0.7908 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.006395, allocations: 82.84 kB / 0.7909 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.006403, allocations: 192 / 0.7909 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.006419, allocations: 4.375 kB / 0.7909 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.006428, allocations: 3.938 kB / 0.7909 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.548e-05/0.006493, allocations: 26.44 kB / 0.7909 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.00693, allocations: 307.7 kB / 0.7912 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.007082, allocations: 63.16 kB / 0.7913 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.007125, allocations: 27.67 kB / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.007144, allocations: 0.625 kB / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.007281, allocations: 106.6 kB / 0.7914 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.535e-06/0.007283, allocations: 0 / 0.7914 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002921/0.007575, allocations: 133.5 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.007621, allocations: 59.41 kB / 0.7916 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.00773, allocations: 188.2 kB / 0.7918 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.007745, allocations: 31.02 kB / 0.7918 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.0078, allocations: 142.9 kB / 0.792 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.007825, allocations: 27.75 kB / 0.792 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.00787, allocations: 40.52 kB / 0.792 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.00799, allocations: 0.4923 MB / 0.7925 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.008024, allocations: 15.98 kB / 0.7925 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.008087, allocations: 75.42 kB / 0.7926 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.925e-05/0.008186, allocations: 94.05 kB / 0.7927 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.008189, allocations: 1.75 kB / 0.7927 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001479/0.008337, allocations: 121.4 kB / 0.7928 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.008352, allocations: 8 kB / 0.7928 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008357, allocations: 0.6562 kB / 0.7928 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.008371, allocations: 4.875 kB / 0.7928 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.008456, allocations: 23.92 kB / 0.7928 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.008462, allocations: 7.984 kB / 0.7928 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.008506, allocations: 17.77 kB / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.008518, allocations: 8 kB / 0.7929 GB, free: 6.16 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 8.327e-05/0.008601, allocations: 170.5 kB / 0.793 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.00862, allocations: 18.06 kB / 0.793 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.008815, allocations: 136.8 kB / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.008817, allocations: 0 / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.008821, allocations: 0 / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008824, allocations: 0 / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.009169, allocations: 417.2 kB / 0.7936 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009171, allocations: 0.5312 kB / 0.7936 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.009206, allocations: 12.72 kB / 0.7936 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.009209, allocations: 0 / 0.7936 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.00922, allocations: 4.516 kB / 0.7936 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009221, allocations: 5.625 kB / 0.7936 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.009222, allocations: 0 / 0.7936 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.009678, allocations: 279.7 kB / 0.7939 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.00969, allocations: 11.84 kB / 0.7939 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.009711, allocations: 7.984 kB / 0.7939 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.009759, allocations: 8.531 kB / 0.7939 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.009809, allocations: 8.891 kB / 0.7939 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.009825, allocations: 7.984 kB / 0.7939 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.009876, allocations: 142.4 kB / 0.794 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009876, allocations: 0 / 0.794 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002372/0.01011, allocations: 47.92 kB / 0.7941 GB, free: 4.848 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.000342/0.01046, allocations: 181.2 kB / 0.7943 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.01061, allocations: 73.19 kB / 0.7943 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01061, allocations: 3.938 kB / 0.7943 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.648e-05/0.01066, allocations: 44.66 kB / 0.7944 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.01088, allocations: 30.52 kB / 0.7944 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.01141, allocations: 230 kB / 0.7946 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.875e-05/0.01145, allocations: 63.34 kB / 0.7947 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.01149, allocations: 8.5 kB / 0.7947 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.01152, allocations: 16.48 kB / 0.7947 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.01152, allocations: 0.5 kB / 0.7947 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of Templates: time 0.004254/0.01578, allocations: 2.238 MB / 0.7969 GB, free: 1.977 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: 5.023933400865644]