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.007869/0.007869, allocations: 101.1 kB / 15.73 MB, free: 5.523 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.001651/0.001651, allocations: 197.5 kB / 16.67 MB, free: 5.461 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.397/1.397, allocations: 222.9 MB / 240.4 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.653/2.653, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.91 kB / 1.054 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9703, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002948/0.9733, allocations: 1.61 MB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.9746, allocations: 0.7713 MB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.9747, allocations: 0 / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.9748, allocations: 11.86 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.384e-05/0.9748, allocations: 15.81 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.9755, allocations: 143.6 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.9757, allocations: 139.6 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.9758, allocations: 19.98 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.9759, allocations: 59.77 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.976, allocations: 83.66 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.9761, allocations: 12 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.9763, allocations: 103.8 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.9763, allocations: 27.95 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.9764, allocations: 55.72 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.9766, allocations: 191.2 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.9766, allocations: 4 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.664e-06/0.9766, allocations: 0 / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.9767, allocations: 0 / 1.211 GB, free: 10.42 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.0007789/0.9774, allocations: 488.3 kB / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.9775, allocations: 8.031 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.9775, allocations: 12.84 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.9776, allocations: 180.6 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.9777, allocations: 8.375 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.9777, allocations: 12.12 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.978, allocations: 97.61 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.978, allocations: 0 / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.978, allocations: 0 / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.978, allocations: 0 / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.9782, allocations: 63.95 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/0.9791, allocations: 380.5 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.9793, allocations: 66.55 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.9794, allocations: 52.83 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.9794, allocations: 4 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.9797, allocations: 103.3 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.9797, allocations: 0 / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0005658/0.9803, allocations: 213.4 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.9803, allocations: 59.77 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.9805, allocations: 148.7 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.9805, allocations: 29.64 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.9806, allocations: 104.3 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.9806, allocations: 23.89 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.9806, allocations: 29.7 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9808, allocations: 322.8 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.9809, allocations: 51.97 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.981, allocations: 68.27 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.9813, allocations: 116.2 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.9813, allocations: 0 / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003379/0.9816, allocations: 153.4 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.9816, allocations: 4 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.9817, allocations: 4 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9817, allocations: 4.031 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.9818, allocations: 28.06 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.9818, allocations: 11.88 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.982, allocations: 11.84 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.982, allocations: 7.984 kB / 1.214 GB, free: 7.348 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 0.00011/0.9821, allocations: 121.8 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.9821, allocations: 7.906 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.9822, allocations: 12.72 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.9822, allocations: 0 / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.9822, allocations: 7.938 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.9822, allocations: 3.984 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.9828, allocations: 454.3 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.9828, allocations: 3.984 kB / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.062e-05/0.9829, allocations: 7.938 kB / 1.214 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.9829, allocations: 7.938 kB / 1.214 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.9829, allocations: 3.984 kB / 1.214 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.983, allocations: 4 kB / 1.214 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.983, allocations: 0 / 1.214 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.9834, allocations: 263.4 kB / 1.214 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.9834, allocations: 92.98 kB / 1.215 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.9835, allocations: 11.92 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.9836, allocations: 4 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.9836, allocations: 11.98 kB / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.9837, allocations: 7.984 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.954e-05/0.9837, allocations: 107.2 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9837, allocations: 0 / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003186/0.9841, allocations: 43.98 kB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003152/0.9844, allocations: 171.5 kB / 1.215 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.9847, allocations: 103.9 kB / 1.215 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.9847, allocations: 0 / 1.215 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.9849, allocations: 59.91 kB / 1.215 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.9852, allocations: 16.42 kB / 1.215 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.9857, allocations: 248.7 kB / 1.215 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.9859, allocations: 0.6924 MB / 1.216 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.224e-05/0.986, allocations: 12.06 kB / 1.216 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.9861, allocations: 15.44 kB / 1.216 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.9861, allocations: 0 / 1.216 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of Templates: time 0.004827/0.9909, allocations: 2.01 MB / 1.218 GB, free: 2.73 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/jenkins/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