Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008226/0.008226, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001728/0.001728, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.359/1.359, allocations: 222.9 MB / 240.3 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.559/2.559, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.874/0.8754, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002603/0.8781, allocations: 1.51 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.8794, allocations: 0.7518 MB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.8795, allocations: 4 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.8796, allocations: 11.86 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.8796, allocations: 11.88 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.8802, allocations: 123.6 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.8803, allocations: 87.7 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.8804, allocations: 7.984 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.8805, allocations: 47.78 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.8806, allocations: 39.89 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.8806, allocations: 8 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.8808, allocations: 99.78 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.8809, allocations: 11.98 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.8809, allocations: 39.8 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.8812, allocations: 143.5 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8812, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8812, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8812, allocations: 0 / 1.211 GB, free: 10.73 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.0007488/0.882, allocations: 468.4 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.882, allocations: 8.031 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.8821, allocations: 12.88 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.8822, allocations: 192 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.8822, allocations: 4.375 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.8823, allocations: 4.375 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.8824, allocations: 77.95 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.8825, allocations: 4 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.8825, allocations: 0 / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.8825, allocations: 4 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.8826, allocations: 43.91 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005829/0.8832, allocations: 312.8 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.8834, allocations: 66.66 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.8835, allocations: 36.78 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.8835, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.8837, allocations: 91.34 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.8838, allocations: 0 / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004124/0.8842, allocations: 153.5 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.8842, allocations: 59.56 kB / 1.212 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.8843, allocations: 133.7 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.8844, allocations: 29.7 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.8844, allocations: 96.34 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.8845, allocations: 23.66 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.8845, allocations: 29.7 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.8847, allocations: 326.8 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.8848, allocations: 28.36 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.8849, allocations: 76.69 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.8851, allocations: 97.08 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8851, allocations: 0 / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002546/0.8854, allocations: 137.4 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.8854, allocations: 4 kB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.8854, allocations: 4 kB / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.8854, allocations: 96 / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.8856, allocations: 24.03 kB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.8856, allocations: 4 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.8857, allocations: 15.98 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.8857, allocations: 4 kB / 1.213 GB, free: 7.938 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.0001054/0.8858, allocations: 127.8 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.8859, allocations: 7.906 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.8862, allocations: 153.8 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.8862, allocations: 4 kB / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8862, allocations: 0 / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.8862, allocations: 0 / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.8868, allocations: 434.2 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.8868, allocations: 0 / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.8869, allocations: 11.98 kB / 1.214 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.8869, allocations: 4 kB / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.8869, allocations: 0 / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8869, allocations: 8 kB / 1.214 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8869, allocations: 3.938 kB / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.8872, allocations: 231.3 kB / 1.214 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.8873, allocations: 81.02 kB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.8873, allocations: 4 kB / 1.214 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.8874, allocations: 7.984 kB / 1.214 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.8875, allocations: 19.86 kB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.8875, allocations: 11.98 kB / 1.214 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.702e-05/0.8876, allocations: 99.27 kB / 1.214 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8876, allocations: 0 / 1.214 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003136/0.8879, allocations: 40 kB / 1.214 GB, free: 6.605 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 (12): * Single equations (assignments): 9 * 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.0003442/0.8883, allocations: 171 kB / 1.214 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.8885, allocations: 83.89 kB / 1.214 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8885, allocations: 0 / 1.214 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.8887, allocations: 43.92 kB / 1.214 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.889, allocations: 15.98 kB / 1.214 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.8895, allocations: 211.8 kB / 1.215 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.8898, allocations: 0.7001 MB / 1.215 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.72e-05/0.8898, allocations: 12.61 kB / 1.215 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.8899, allocations: 15.42 kB / 1.215 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.8899, allocations: 0 / 1.215 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of Templates: time 0.004824/0.8947, allocations: 1.839 MB / 1.217 GB, free: 3.484 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches