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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001581/0.001582, allocations: 113.5 kB / 16.42 MB, free: 6.508 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.001837/0.001837, allocations: 186.5 kB / 17.35 MB, free: 5.758 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.381/1.381, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.606/2.606, allocations: 472.7 MB / 0.746 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 1.07 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6948/0.6962, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002472/0.6987, allocations: 1.496 MB / 1.228 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.7, allocations: 0.7684 MB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.7001, allocations: 0 / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.7001, allocations: 3.938 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.7002, allocations: 19.8 kB / 1.229 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.7007, allocations: 127.6 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.7009, allocations: 75.78 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.701, allocations: 23.97 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.649e-05/0.7011, allocations: 39.8 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.7012, allocations: 39.81 kB / 1.229 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.7012, allocations: 8 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.7014, allocations: 95.91 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.7014, allocations: 15.98 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.7015, allocations: 31.8 kB / 1.229 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.7017, allocations: 148 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7017, allocations: 0 / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.276e-06/0.7018, allocations: 4 kB / 1.229 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7018, allocations: 7.938 kB / 1.229 GB, free: 10.62 MB / 0.9512 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.0007018/0.7025, allocations: 464.4 kB / 1.23 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.7025, allocations: 12.03 kB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.7026, allocations: 8.891 kB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.7027, allocations: 180.2 kB / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.7027, allocations: 384 / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.7027, allocations: 8.375 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.7029, allocations: 81.89 kB / 1.23 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.7029, allocations: 0 / 1.23 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.703, allocations: 8 kB / 1.23 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.703, allocations: 0 / 1.23 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.7031, allocations: 35.97 kB / 1.23 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.7036, allocations: 320.7 kB / 1.23 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.7038, allocations: 70.53 kB / 1.23 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.7039, allocations: 32.84 kB / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.7039, allocations: 0 / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.7041, allocations: 99.33 kB / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.7041, allocations: 0 / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0003974/0.7045, allocations: 165.5 kB / 1.231 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.7046, allocations: 51.41 kB / 1.231 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.7047, allocations: 133.8 kB / 1.231 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.7047, allocations: 29.7 kB / 1.231 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.7048, allocations: 96.52 kB / 1.231 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.7048, allocations: 27.78 kB / 1.231 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.7049, allocations: 29.7 kB / 1.231 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.705, allocations: 326.8 kB / 1.231 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-05/0.7051, allocations: 27.98 kB / 1.231 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.7052, allocations: 61.14 kB / 1.231 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.7054, allocations: 109 kB / 1.231 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7054, allocations: 3.938 kB / 1.231 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002453/0.7056, allocations: 129.5 kB / 1.232 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.7056, allocations: 4 kB / 1.232 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7056, allocations: 4 kB / 1.232 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.7057, allocations: 4.125 kB / 1.232 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.7058, allocations: 15.98 kB / 1.232 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7058, allocations: 4 kB / 1.232 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.7059, allocations: 15.94 kB / 1.232 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.7059, allocations: 7.984 kB / 1.232 GB, free: 7.828 MB / 0.9512 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.0001001/0.706, allocations: 134.2 kB / 1.232 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.7061, allocations: 7.953 kB / 1.232 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.7064, allocations: 146 kB / 1.232 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7064, allocations: 0 / 1.232 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7064, allocations: 3.984 kB / 1.232 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.7065, allocations: 85.06 kB / 1.232 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.7065, allocations: 0 / 1.232 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.7066, allocations: 15.86 kB / 1.232 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.7066, allocations: 19.92 kB / 1.232 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003316/0.707, allocations: 204.9 kB / 1.232 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003174/0.7073, allocations: 307.2 kB / 1.232 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.693e-05/0.7074, allocations: 52 kB / 1.233 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.7075, allocations: 102.3 kB / 1.233 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of Backend: time 2.4e-07/0.7075, allocations: 0 / 1.233 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006235/0.7081, allocations: 198.5 kB / 1.233 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005109/0.7086, allocations: 0.6403 MB / 1.233 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of Templates: time 0.004437/0.7131, allocations: 1.808 MB / 1.235 GB, free: 4.039 MB / 0.9512 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/jenkins1/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