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.001061/0.001061, allocations: 109.3 kB / 16.41 MB, free: 6.453 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.001017/0.001017, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.261/1.261, 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 11.0.1-master/package.mo): time 2.442/2.442, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6738/0.6752, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002729/0.6779, allocations: 1.588 MB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.6793, allocations: 0.7829 MB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.6794, allocations: 3.938 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.6795, allocations: 3.938 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.6796, allocations: 19.8 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006398/0.6802, allocations: 155.5 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.6804, allocations: 135.6 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.6805, allocations: 19.92 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.6807, allocations: 51.89 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.6808, allocations: 79.72 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.6808, allocations: 12 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.6811, allocations: 103.8 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.6811, allocations: 31.91 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.6812, allocations: 55.7 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.6815, allocations: 191.2 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6815, allocations: 0 / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6815, allocations: 4 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6815, allocations: 0 / 1.212 GB, free: 10.41 MB / 0.9356 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.000777/0.6823, allocations: 480.4 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.6823, allocations: 15.97 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.6824, allocations: 8.844 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.6825, allocations: 184.7 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.6826, allocations: 8.359 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.6826, allocations: 12.12 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.6829, allocations: 93.56 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6829, allocations: 0 / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.6829, allocations: 4 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.6829, allocations: 0 / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.6831, allocations: 71.88 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000834/0.6839, allocations: 372.5 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.6841, allocations: 70.55 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.6842, allocations: 52.83 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.6843, allocations: 4.141 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.6845, allocations: 103.3 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.6845, allocations: 0 / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.000517/0.685, allocations: 217.7 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.6851, allocations: 55.41 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.6852, allocations: 144.7 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.6852, allocations: 33.64 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.6853, allocations: 104.3 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.6853, allocations: 15.81 kB / 1.214 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.6854, allocations: 29.7 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6855, allocations: 326.8 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.6856, allocations: 39.97 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.6857, allocations: 76.27 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.6859, allocations: 116.1 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.686, allocations: 4 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003214/0.6863, allocations: 153.5 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6863, allocations: 4 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6863, allocations: 4.094 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.6863, allocations: 4 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.6865, allocations: 19.92 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.6865, allocations: 8.047 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.6866, allocations: 23.77 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.6866, allocations: 4 kB / 1.214 GB, free: 7.34 MB / 0.9356 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.246e-05/0.6867, allocations: 123.4 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.6868, allocations: 11.91 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.6868, allocations: 16.7 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6868, allocations: 3.938 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6868, allocations: 0 / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.6869, allocations: 84.95 kB / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.6869, allocations: 4 kB / 1.215 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.687, allocations: 7.984 kB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.6871, allocations: 8 kB / 1.215 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003994/0.6875, allocations: 244.8 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003923/0.6879, allocations: 342.4 kB / 1.215 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001309/0.688, allocations: 56.09 kB / 1.215 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.007e-05/0.6881, allocations: 107.2 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of Backend: time 3.11e-07/0.6881, allocations: 4 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006694/0.6887, allocations: 208 kB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005027/0.6893, allocations: 0.6379 MB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.004649/0.6939, allocations: 2.079 MB / 1.218 GB, free: 3.34 MB / 0.9356 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