Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 1.055 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7573/0.7588, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00278/0.7616, allocations: 1.52 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.763, allocations: 0.7479 MB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.7631, allocations: 3.938 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.7631, allocations: 3.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.303e-05/0.7632, allocations: 27.78 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.7638, allocations: 127.5 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.764, allocations: 87.7 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.7641, allocations: 12 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.7642, allocations: 47.77 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.7643, allocations: 39.84 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.7643, allocations: 8 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.7645, allocations: 91.91 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.7646, allocations: 23.91 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/0.7646, allocations: 39.84 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.7649, allocations: 159.3 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7649, allocations: 4 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7649, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.7649, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008753/0.7658, allocations: 468.4 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.7659, allocations: 8.031 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.7659, allocations: 12.84 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.7662, allocations: 176.2 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-05/0.7663, allocations: 34.27 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.7663, allocations: 4.375 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.7666, allocations: 85.7 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7666, allocations: 3.984 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.7666, allocations: 0 / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.7666, allocations: 4 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.7668, allocations: 51.95 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.7675, allocations: 332.5 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.7677, allocations: 66.55 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.7678, allocations: 44.83 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.7679, allocations: 0 / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003053/0.7682, allocations: 95.39 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.7682, allocations: 0 / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0005364/0.7687, allocations: 173.4 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.7688, allocations: 55.41 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.7689, allocations: 138 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.769, allocations: 29.7 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.7691, allocations: 92.36 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.7691, allocations: 19.72 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.7692, allocations: 37.7 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7693, allocations: 326.8 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.7694, allocations: 27.98 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.7696, allocations: 73.12 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.7698, allocations: 109 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.7698, allocations: 4 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003173/0.7701, allocations: 133.5 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.7702, allocations: 4 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.7702, allocations: 4 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.7702, allocations: 0 / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.7703, allocations: 15.98 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.7703, allocations: 8 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.7705, allocations: 23.83 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.7705, allocations: 7.984 kB / 1.214 GB, free: 7.812 MB / 0.9356 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001013/0.7706, allocations: 129.8 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.7706, allocations: 7.906 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.7707, allocations: 12.72 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.7707, allocations: 0 / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7707, allocations: 0 / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7707, allocations: 0 / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.7713, allocations: 434.5 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7713, allocations: 4.453 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.7714, allocations: 11.98 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.7714, allocations: 0 / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.7714, allocations: 3.938 kB / 1.214 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.7714, allocations: 11.86 kB / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.7714, allocations: 3.938 kB / 1.214 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.7717, allocations: 227.4 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.7718, allocations: 88.95 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.7718, allocations: 7.938 kB / 1.215 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.772, allocations: 15.92 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.772, allocations: 7.984 kB / 1.215 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.772, allocations: 11.98 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.506e-05/0.7721, allocations: 98.08 kB / 1.215 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7721, allocations: 0 / 1.215 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003151/0.7724, allocations: 44 kB / 1.215 GB, free: 6.609 MB / 0.9356 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.000347/0.7728, allocations: 162.7 kB / 1.215 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.7731, allocations: 91.98 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7731, allocations: 3.938 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.7732, allocations: 47.97 kB / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.7735, allocations: 15.08 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.7741, allocations: 233.3 kB / 1.215 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.7743, allocations: 0.7003 MB / 1.216 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.7744, allocations: 15.44 kB / 1.216 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.7744, allocations: 0 / 1.216 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of Templates: time 0.003846/0.7782, allocations: 1.871 MB / 1.218 GB, free: 3.434 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches