Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 112.5 kB / 16.42 MB, free: 6.52 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.001185/0.001185, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.328/1.328, allocations: 222.9 MB / 241.1 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.373/2.373, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.14 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.6703, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002413/0.6728, allocations: 1.525 MB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.674, allocations: 0.7517 MB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.674, allocations: 0 / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.6741, allocations: 7.922 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.407e-05/0.6742, allocations: 15.86 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.6747, allocations: 131.5 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.6748, allocations: 91.7 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.025e-05/0.6749, allocations: 7.984 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.675, allocations: 51.78 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.675, allocations: 39.83 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.6751, allocations: 8 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.6752, allocations: 91.91 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.6753, allocations: 23.92 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.6753, allocations: 39.84 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.6756, allocations: 156 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6756, allocations: 0 / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6756, allocations: 0 / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6756, allocations: 0 / 1.17 GB, free: 0.9102 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.0007136/0.6763, allocations: 486.2 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.6764, allocations: 12.03 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.6764, allocations: 12.89 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.6765, allocations: 176.3 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.6766, allocations: 30.27 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.6766, allocations: 12.36 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.6768, allocations: 77.72 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.6769, allocations: 0 / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.6769, allocations: 7.984 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6769, allocations: 4 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.6771, allocations: 43.97 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.6776, allocations: 332.6 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.6778, allocations: 70.55 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.6779, allocations: 40.83 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.678, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.6782, allocations: 95.39 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.6782, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.000479/0.6787, allocations: 169.5 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.6787, allocations: 59.41 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.6788, allocations: 131.5 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.6789, allocations: 29.7 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.6789, allocations: 96.31 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.6789, allocations: 24.17 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.679, allocations: 33.7 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.6791, allocations: 326.8 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.6792, allocations: 35.97 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.6793, allocations: 69.69 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.6796, allocations: 109 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6796, allocations: 4 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002991/0.6799, allocations: 137.5 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.6799, allocations: 8 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.6799, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.6799, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.6801, allocations: 19.97 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.6801, allocations: 4 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.6802, allocations: 11.98 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.6802, allocations: 4 kB / 1.173 GB, free: 14.01 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.579e-05/0.6803, allocations: 132 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.6803, allocations: 11.91 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.6804, allocations: 12.72 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6804, allocations: 3.984 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6804, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.6804, allocations: 89 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.6805, allocations: 4 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.6806, allocations: 11.92 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.6806, allocations: 19.98 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004019/0.681, allocations: 217 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003526/0.6814, allocations: 306.6 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001304/0.6815, allocations: 51.97 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.6816, allocations: 98.27 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of Backend: time 5.51e-07/0.6816, allocations: 0 / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000646/0.6823, allocations: 209.3 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004732/0.6827, allocations: 0.6333 MB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.004436/0.6872, allocations: 1.923 MB / 1.176 GB, free: 10.23 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches