Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001512/0.001513, allocations: 110.5 kB / 16.41 MB, free: 6.453 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.001773/0.001773, allocations: 188.1 kB / 17.34 MB, free: 5.738 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 64.12 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7677, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002738/0.7705, allocations: 1.506 MB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.7719, allocations: 0.7595 MB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.772, allocations: 4 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.7721, allocations: 7.875 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.977e-05/0.7722, allocations: 15.8 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.7728, allocations: 123.6 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.773, allocations: 87.75 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.7731, allocations: 11.98 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.7732, allocations: 47.8 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.7733, allocations: 47.81 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.7733, allocations: 8 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.7735, allocations: 87.84 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.7736, allocations: 15.98 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.7736, allocations: 39.8 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.7739, allocations: 144.1 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7739, allocations: 0 / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7739, allocations: 0 / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.7739, allocations: 3.984 kB / 1.17 GB, free: 0.9883 MB / 0.8887 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.0007743/0.7747, allocations: 466.4 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.7747, allocations: 11.97 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.7748, allocations: 8.891 kB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.775, allocations: 188.2 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.775, allocations: 4.375 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.775, allocations: 4.375 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.7752, allocations: 77.95 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7752, allocations: 4 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.7752, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.7753, allocations: 4 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.7754, allocations: 43.91 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.776, allocations: 312.7 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.7761, allocations: 70.55 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.7762, allocations: 36.88 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.7763, allocations: 3.938 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.7765, allocations: 91.52 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.7765, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003996/0.7769, allocations: 157.5 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.777, allocations: 63.39 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.7771, allocations: 134.9 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.7771, allocations: 29.7 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.7772, allocations: 92.36 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.7772, allocations: 19.8 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.7773, allocations: 33.7 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7774, allocations: 326.8 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.7775, allocations: 27.98 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-05/0.7776, allocations: 70.31 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.7777, allocations: 97.08 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7777, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002343/0.778, allocations: 133.5 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.778, allocations: 4 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.778, allocations: 4 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.778, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.7781, allocations: 20.05 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.7782, allocations: 4 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.7783, allocations: 15.94 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.7783, allocations: 8 kB / 1.173 GB, free: 14.2 MB / 0.9044 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 9.146e-05/0.7784, allocations: 129.8 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.7784, allocations: 11.94 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.7787, allocations: 145.9 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7787, allocations: 4 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.7788, allocations: 3.984 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.7788, allocations: 384 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.7793, allocations: 430.3 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7793, allocations: 0 / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.7794, allocations: 11.98 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.7794, allocations: 7.938 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.7794, allocations: 0 / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7794, allocations: 4 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7794, allocations: 3.938 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.7797, allocations: 227.4 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.7798, allocations: 85.06 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.7798, allocations: 3.938 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.7799, allocations: 11.98 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.78, allocations: 15.92 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.78, allocations: 8 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.7801, allocations: 99.27 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7801, allocations: 0 / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003177/0.7804, allocations: 47.86 kB / 1.174 GB, free: 12.87 MB / 0.9044 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.0003449/0.7808, allocations: 164.4 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.781, allocations: 87.89 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.781, allocations: 0 / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.7811, allocations: 43.92 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.7814, allocations: 22.16 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.7819, allocations: 242.8 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.7821, allocations: 0.704 MB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.7822, allocations: 11.44 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.7822, allocations: 0 / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.003774/0.786, allocations: 1.825 MB / 1.177 GB, free: 9.73 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches