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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0007982/0.0007983, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008396/0.0008396, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.952/2.952, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 11.72 kB / 0.9021 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3727, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001996/0.3748, allocations: 1.291 MB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3762, allocations: 0.7327 MB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.3763, allocations: 4 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.3763, allocations: 7.922 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.944e-05/0.3764, allocations: 15.86 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.3771, allocations: 111.7 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.3773, allocations: 119.6 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.3775, allocations: 12 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3776, allocations: 55.81 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3777, allocations: 63.78 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.3778, allocations: 8 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.378, allocations: 91.84 kB / 1.06 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.378, allocations: 15.97 kB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.3781, allocations: 45.58 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.3784, allocations: 136 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.3784, allocations: 0 / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3784, allocations: 4 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.3784, allocations: 0 / 1.061 GB, free: 2.598 MB / 0.8106 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.000914/0.3793, allocations: 462.4 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.814e-05/0.3794, allocations: 11.97 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.3795, allocations: 11.91 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.3796, allocations: 180.2 kB / 1.061 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.3797, allocations: 11.98 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.3797, allocations: 11.95 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.38, allocations: 97.62 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.38, allocations: 0 / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.38, allocations: 0 / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.38, allocations: 0 / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.3802, allocations: 75.95 kB / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009603/0.3812, allocations: 388.5 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.3814, allocations: 70.55 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.3815, allocations: 56.83 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.3816, allocations: 8 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.3818, allocations: 107.3 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3818, allocations: 0 / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006186/0.3825, allocations: 221.5 kB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.3825, allocations: 59.39 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3827, allocations: 140.5 kB / 1.062 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3827, allocations: 29.81 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.3828, allocations: 112.2 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3828, allocations: 19.89 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.3828, allocations: 4.375 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.383, allocations: 326.8 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.3831, allocations: 43.97 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.3833, allocations: 78.89 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3835, allocations: 63.84 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3835, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003309/0.3838, allocations: 165.4 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3838, allocations: 8 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3839, allocations: 0 / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3839, allocations: 4 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.384, allocations: 28.02 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.3841, allocations: 7.984 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.3841, allocations: 8 kB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.3842, allocations: 4 kB / 1.063 GB, free: 15.59 MB / 0.8262 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.3843, allocations: 132.6 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.3843, allocations: 11.84 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.3844, allocations: 12.72 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3844, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3844, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3844, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006593/0.3851, allocations: 482.2 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3851, allocations: 0 / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.334e-05/0.3852, allocations: 11.98 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3852, allocations: 0 / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.3852, allocations: 3.984 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3852, allocations: 0 / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.3852, allocations: 3.984 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.3856, allocations: 279.3 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.3857, allocations: 85.02 kB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.3858, allocations: 4 kB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3859, allocations: 11.98 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.3859, allocations: 11.98 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.386, allocations: 4.188 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.91e-05/0.386, allocations: 109.7 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3861, allocations: 7.875 kB / 1.064 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003404/0.3864, allocations: 40 kB / 1.065 GB, free: 14.31 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004255/0.3868, allocations: 167 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.3872, allocations: 115.9 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3872, allocations: 0 / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.3874, allocations: 64.16 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.3877, allocations: 15.89 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.3882, allocations: 253.3 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3885, allocations: 0.6965 MB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.571e-05/0.3886, allocations: 4 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.3886, allocations: 23.61 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3886, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.004874/0.3935, allocations: 1.798 MB / 1.068 GB, free: 11.14 MB / 0.8262 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