Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_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_latest_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.00162/0.00162, allocations: 111.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.001825/0.001825, allocations: 186.7 kB / 17.35 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.434/1.434, 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 11.0.1-master/package.mo): time 2.573/2.573, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.89 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6656, allocations: 159.1 MB / 1.221 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002543/0.6682, allocations: 1.515 MB / 1.222 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.6696, allocations: 0.7527 MB / 1.223 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.6697, allocations: 3.938 kB / 1.223 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.6697, allocations: 3.938 kB / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.6698, allocations: 23.86 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.6704, allocations: 131.6 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.6706, allocations: 87.75 kB / 1.223 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.6707, allocations: 11.98 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.6708, allocations: 43.67 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.6709, allocations: 43.83 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.6709, allocations: 12 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.6711, allocations: 95.91 kB / 1.224 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.6712, allocations: 23.91 kB / 1.224 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.6712, allocations: 27.86 kB / 1.224 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.6715, allocations: 159.3 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6715, allocations: 0 / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6715, allocations: 0 / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.6715, allocations: 0 / 1.224 GB, free: 15.43 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.0008341/0.6724, allocations: 472.4 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.6724, allocations: 11.97 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.6725, allocations: 12.84 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.6726, allocations: 180.2 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.9e-05/0.6727, allocations: 34.27 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.6728, allocations: 4.375 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.673, allocations: 85.7 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.673, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.673, allocations: 4 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.6731, allocations: 3.938 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.6733, allocations: 51.95 kB / 1.225 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.6739, allocations: 320.6 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.6741, allocations: 70.53 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.6742, allocations: 40.84 kB / 1.225 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.6742, allocations: 0 / 1.225 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.6745, allocations: 99.38 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.6745, allocations: 4 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0005155/0.675, allocations: 165.5 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6751, allocations: 55.41 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.6752, allocations: 140.5 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.6752, allocations: 33.7 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.6753, allocations: 92.44 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.6753, allocations: 27.69 kB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.6754, allocations: 42.08 kB / 1.226 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.6755, allocations: 322.8 kB / 1.226 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.6756, allocations: 27.98 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.6757, allocations: 73.12 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.676, allocations: 109 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.676, allocations: 4 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002925/0.6763, allocations: 133.4 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6763, allocations: 11.94 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6763, allocations: 0 / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.6763, allocations: 0 / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.6765, allocations: 15.98 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.6765, allocations: 4 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.6766, allocations: 19.92 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.6766, allocations: 8.125 kB / 1.226 GB, free: 12.52 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 8.691e-05/0.6767, allocations: 132.6 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.6767, allocations: 11.89 kB / 1.226 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.6768, allocations: 12.72 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6768, allocations: 0 / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6768, allocations: 0 / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.6768, allocations: 85.02 kB / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.6769, allocations: 3.984 kB / 1.227 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.677, allocations: 19.92 kB / 1.227 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.677, allocations: 15.92 kB / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003844/0.6774, allocations: 208.8 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003513/0.6778, allocations: 310.6 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001223/0.6779, allocations: 43.97 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.678, allocations: 103.2 kB / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of Backend: time 3.7e-07/0.678, allocations: 192 / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006524/0.6787, allocations: 204.1 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004718/0.6791, allocations: 0.6333 MB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of Templates: time 0.004496/0.6836, allocations: 1.931 MB / 1.23 GB, free: 8.738 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches