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.001163/0.001163, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.001167/0.001167, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.2 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.413/2.413, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 72.11 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.679/0.6803, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002462/0.6828, allocations: 1.506 MB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.6841, allocations: 0.7595 MB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.6842, allocations: 0 / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.6842, allocations: 11.81 kB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.463e-05/0.6844, allocations: 19.86 kB / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.6849, allocations: 123.6 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.685, allocations: 83.77 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.6851, allocations: 7.984 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.94e-05/0.6852, allocations: 47.8 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.6853, allocations: 43.81 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.6853, allocations: 12 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.6855, allocations: 95.84 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.6856, allocations: 11.98 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.6856, allocations: 35.8 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.6859, allocations: 151.5 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6859, allocations: 0 / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6859, allocations: 0 / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.6859, allocations: 0 / 1.17 GB, free: 0.9805 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.000679/0.6866, allocations: 468.3 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6866, allocations: 8.625 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.6867, allocations: 4.938 kB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.6868, allocations: 193.7 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.6868, allocations: 384 / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.6868, allocations: 8.375 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.687, allocations: 77.95 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.687, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.6871, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.6871, allocations: 4 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.6872, allocations: 47.91 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.6877, allocations: 308.8 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.6879, allocations: 66.55 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.688, allocations: 32.84 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.688, allocations: 8.141 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.6882, allocations: 99.33 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.6882, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003849/0.6886, allocations: 157.5 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.6886, allocations: 55.41 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.6888, allocations: 129.7 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.6888, allocations: 33.7 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.6888, allocations: 88.38 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.6889, allocations: 23.64 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.6889, allocations: 33.7 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.689, allocations: 326.8 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.6891, allocations: 23.98 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.942e-05/0.6892, allocations: 73.83 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.6894, allocations: 97.06 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6894, allocations: 4 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002445/0.6897, allocations: 133.4 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.6897, allocations: 4 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6897, allocations: 4 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6897, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.6898, allocations: 15.98 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.6898, allocations: 3.938 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.6899, allocations: 16.11 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.69, allocations: 11.94 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 8.719e-05/0.6901, allocations: 121.8 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.6901, allocations: 11.91 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.6904, allocations: 149.9 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.6904, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6904, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.6905, allocations: 89 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.6905, allocations: 4 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.059e-05/0.6906, allocations: 11.92 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.6906, allocations: 12.36 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003135/0.691, allocations: 212.8 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002906/0.6913, allocations: 302.6 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.328e-05/0.6914, allocations: 55.91 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.6914, allocations: 100.8 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of Backend: time 4.71e-07/0.6914, allocations: 0 / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006343/0.6921, allocations: 197.6 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005011/0.6926, allocations: 0.6351 MB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.004445/0.697, allocations: 1.81 MB / 1.176 GB, free: 10.42 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/jenkins1/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