Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,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.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,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.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007831/0.007831, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001899/0.001899, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.459/2.459, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.89 kB / 1.018 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8769/0.8784, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002585/0.881, allocations: 1.515 MB / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.8824, allocations: 0.7479 MB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.8824, allocations: 0 / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.8825, allocations: 11.88 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.768e-05/0.8826, allocations: 23.84 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.8831, allocations: 123.6 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.8832, allocations: 83.7 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.8833, allocations: 12 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.476e-05/0.8834, allocations: 51.77 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.8835, allocations: 31.91 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.8836, allocations: 8 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.8837, allocations: 99.78 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.8838, allocations: 19.97 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.8838, allocations: 35.8 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.8841, allocations: 144.1 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8841, allocations: 3.984 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8841, allocations: 4 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8841, allocations: 0 / 1.169 GB, free: 0.957 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.0007224/0.8848, allocations: 462.4 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8849, allocations: 12.03 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.8849, allocations: 8.891 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.8851, allocations: 185.3 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.8851, allocations: 4.375 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.8851, allocations: 8.375 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.8853, allocations: 77.89 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.8853, allocations: 0 / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.8853, allocations: 8 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.8853, allocations: 0 / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.8855, allocations: 43.91 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.886, allocations: 320.7 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.8862, allocations: 58.55 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.8863, allocations: 40.84 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.8863, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.8865, allocations: 95.39 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.8865, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003836/0.8869, allocations: 157.5 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.887, allocations: 55.41 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.8871, allocations: 135.3 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.8871, allocations: 25.7 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.8871, allocations: 96.36 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.8872, allocations: 27.94 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.8872, allocations: 29.7 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.8874, allocations: 326.8 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.8874, allocations: 23.98 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.8876, allocations: 77.06 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.8877, allocations: 97.06 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8878, allocations: 4 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000233/0.888, allocations: 125.5 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.888, allocations: 8 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.888, allocations: 384 / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.888, allocations: 4 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.8882, allocations: 15.98 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.8882, allocations: 16.05 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.97e-05/0.8883, allocations: 15.88 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.8883, allocations: 8 kB / 1.172 GB, free: 14.16 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.728e-05/0.8884, allocations: 128 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.8884, allocations: 7.953 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.8888, allocations: 149.9 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.8888, allocations: 3.984 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8888, allocations: 8 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.8888, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/0.8893, allocations: 422.4 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8894, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.8894, allocations: 15.98 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8894, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.8895, allocations: 4 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.8895, allocations: 4 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8895, allocations: 7.938 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.8898, allocations: 223.5 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.8898, allocations: 85.06 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.8898, allocations: 4 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.89, allocations: 7.984 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.89, allocations: 19.8 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.89, allocations: 8 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.24e-05/0.8901, allocations: 100.4 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8901, allocations: 0 / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003106/0.8904, allocations: 47.86 kB / 1.173 GB, free: 12.84 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.0003235/0.8908, allocations: 161.8 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.891, allocations: 91.94 kB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.891, allocations: 0 / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.8911, allocations: 47.92 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.8914, allocations: 11.98 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.8919, allocations: 211.7 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.8921, allocations: 0.7002 MB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.8922, allocations: 8.422 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.8922, allocations: 19.44 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.8922, allocations: 0 / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.004477/0.8967, allocations: 1.802 MB / 1.176 GB, free: 9.758 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches