Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.001381, allocations: 112.7 kB / 16.42 MB, free: 6.445 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.001475/0.001476, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.496/1.496, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.572/2.572, allocations: 469.4 MB / 0.7428 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.88 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6562, allocations: 159.1 MB / 1.221 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002378/0.6586, allocations: 1.591 MB / 1.222 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.6599, allocations: 0.7799 MB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.6599, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.66, allocations: 11.86 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.6601, allocations: 23.73 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.6606, allocations: 143.6 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.6607, allocations: 139.6 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.6608, allocations: 19.98 kB / 1.224 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.6609, allocations: 55.89 kB / 1.224 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.661, allocations: 75.72 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.6611, allocations: 12 kB / 1.224 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.6613, allocations: 103.8 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.6613, allocations: 31.89 kB / 1.224 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.6614, allocations: 59.72 kB / 1.224 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.6616, allocations: 187.2 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6617, allocations: 7.938 kB / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6617, allocations: 0 / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.6617, allocations: 4 kB / 1.224 GB, free: 15.1 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006647/0.6623, allocations: 480.4 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.6624, allocations: 8.625 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.6624, allocations: 12.84 kB / 1.225 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.6626, allocations: 180.7 kB / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.6626, allocations: 4.375 kB / 1.225 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.6626, allocations: 12.12 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.6629, allocations: 101.5 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.6629, allocations: 0 / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.6629, allocations: 0 / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.6629, allocations: 4 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.6631, allocations: 67.89 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008016/0.6639, allocations: 380.5 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.6641, allocations: 66.55 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.6642, allocations: 56.83 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.6643, allocations: 0 / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.6645, allocations: 99.3 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.6645, allocations: 0 / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0005445/0.6651, allocations: 217.4 kB / 1.226 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.6651, allocations: 55.41 kB / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.6652, allocations: 148.6 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.6652, allocations: 29.7 kB / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.6653, allocations: 104.3 kB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.6653, allocations: 15.81 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.6654, allocations: 29.7 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.6655, allocations: 322.8 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.6656, allocations: 47.97 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.6658, allocations: 79.58 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.666, allocations: 112.2 kB / 1.227 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.666, allocations: 0 / 1.227 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003279/0.6663, allocations: 157.4 kB / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6664, allocations: 4 kB / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6664, allocations: 48 / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.6664, allocations: 12.08 kB / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.6665, allocations: 23.91 kB / 1.227 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.6666, allocations: 4.047 kB / 1.227 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.6667, allocations: 15.88 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.6667, allocations: 7.984 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$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.179e-05/0.6668, allocations: 128.5 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.6668, allocations: 7.906 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.6669, allocations: 12.72 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6669, allocations: 4 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6669, allocations: 0 / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.6669, allocations: 92.84 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.667, allocations: 4 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.6671, allocations: 8 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.6671, allocations: 8.047 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004298/0.6676, allocations: 253 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004122/0.668, allocations: 342.9 kB / 1.228 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001375/0.6681, allocations: 51.97 kB / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.896e-05/0.6682, allocations: 107.2 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of Backend: time 3.41e-07/0.6682, allocations: 0 / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006774/0.6689, allocations: 204.8 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000454/0.6693, allocations: 0.6378 MB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of Templates: time 0.004492/0.6738, allocations: 2.014 MB / 1.231 GB, free: 8.09 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches