Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.00118/0.00118, allocations: 86.88 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.001661/0.001661, 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.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 390.9 MB / 0.666 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003934, allocations: 8.219 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/0.7453, allocations: 142.4 MB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002035/0.7474, allocations: 1.276 MB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.7489, allocations: 0.7327 MB / 0.9564 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.7491, allocations: 4 kB / 0.9564 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.7491, allocations: 7.922 kB / 0.9564 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.7492, allocations: 14.17 kB / 0.9564 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007798/0.75, allocations: 115 kB / 0.9565 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.7502, allocations: 120.7 kB / 0.9567 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.7504, allocations: 23.56 kB / 0.9567 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.7505, allocations: 43.94 kB / 0.9567 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.7507, allocations: 65.12 kB / 0.9568 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.7508, allocations: 6.531 kB / 0.9568 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.7511, allocations: 91.28 kB / 0.9569 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.7511, allocations: 23.52 kB / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.7512, allocations: 41.8 kB / 0.9569 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.7515, allocations: 137 kB / 0.9571 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.7515, allocations: 0 / 0.9571 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7516, allocations: 4 kB / 0.9571 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.7516, allocations: 0 / 0.9571 GB, free: 5.648 MB / 0.7169 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.0009979/0.7526, allocations: 474.6 kB / 0.9575 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.7526, allocations: 9.094 kB / 0.9575 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.74e-05/0.7527, allocations: 17.73 kB / 0.9575 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.7529, allocations: 182.8 kB / 0.9577 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.7529, allocations: 12.16 kB / 0.9577 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.753, allocations: 3.906 kB / 0.9577 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.7532, allocations: 99.88 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.7533, allocations: 0 / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.7533, allocations: 1.156 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.7533, allocations: 1.188 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.7535, allocations: 82.12 kB / 0.9579 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000855/0.7544, allocations: 378 kB / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.7546, allocations: 70.08 kB / 0.9583 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.7547, allocations: 61.27 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.7547, allocations: 1.312 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.755, allocations: 116.3 kB / 0.9585 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.755, allocations: 0 / 0.9585 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005695/0.7556, allocations: 235.8 kB / 0.9587 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.7557, allocations: 52.78 kB / 0.9588 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.7558, allocations: 141.2 kB / 0.9589 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.7558, allocations: 35.06 kB / 0.959 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.7559, allocations: 96.5 kB / 0.959 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.7559, allocations: 22.45 kB / 0.9591 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.7559, allocations: 5.375 kB / 0.9591 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.756, allocations: 321.6 kB / 0.9594 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.7561, allocations: 42.11 kB / 0.9594 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.7562, allocations: 82.5 kB / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.7564, allocations: 48.84 kB / 0.9595 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7564, allocations: 9.312 kB / 0.9596 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003563/0.7568, allocations: 158.5 kB / 0.9597 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.7568, allocations: 5.5 kB / 0.9597 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.7568, allocations: 5.328 kB / 0.9597 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.7568, allocations: 1.469 kB / 0.9597 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.757, allocations: 31.03 kB / 0.9597 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.757, allocations: 2.75 kB / 0.9597 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.7571, allocations: 20.09 kB / 0.9598 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.7571, allocations: 8.109 kB / 0.9598 GB, free: 3.27 MB / 0.7169 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.0001089/0.7573, allocations: 118.1 kB / 0.9599 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.7573, allocations: 12.03 kB / 0.9599 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.7573, allocations: 11.47 kB / 0.9599 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.7573, allocations: 5.438 kB / 0.9599 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7574, allocations: 7.875 kB / 0.9599 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.7574, allocations: 3.984 kB / 0.9599 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.758, allocations: 466.9 kB / 0.9604 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.758, allocations: 96 / 0.9604 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.758, allocations: 19.55 kB / 0.9604 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.7581, allocations: 5.109 kB / 0.9604 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.7581, allocations: 5.203 kB / 0.9604 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7581, allocations: 4 kB / 0.9604 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7581, allocations: 1.125 kB / 0.9604 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.7585, allocations: 278.3 kB / 0.9607 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.7585, allocations: 88.11 kB / 0.9608 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.7586, allocations: 9.062 kB / 0.9608 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.7587, allocations: 7.438 kB / 0.9608 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.7588, allocations: 14.52 kB / 0.9608 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.7588, allocations: 7.297 kB / 0.9608 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.21e-05/0.7588, allocations: 105.3 kB / 0.9609 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7589, allocations: 1 kB / 0.9609 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003465/0.7592, allocations: 46.02 kB / 0.9609 GB, free: 2.262 MB / 0.7169 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.0003673/0.7596, allocations: 163.2 kB / 0.9611 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.7599, allocations: 127.3 kB / 0.9612 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7599, allocations: 0 / 0.9612 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.7601, allocations: 64.16 kB / 0.9613 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.7604, allocations: 7.656 kB / 0.9613 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.7609, allocations: 259.7 kB / 0.9615 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.761, allocations: 0.6941 MB / 0.9622 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.724e-05/0.7611, allocations: 7.953 kB / 0.9622 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.7611, allocations: 15.78 kB / 0.9622 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.7611, allocations: 0 / 0.9622 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of Templates: time 0.005807/0.7669, allocations: 1.795 MB / 0.964 GB, free: 196 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches