Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001964/0.001964, allocations: 190.3 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 97.81 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3465, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.004808/0.3513, allocations: 1.639 MB / 0.9838 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3537, allocations: 0.8228 MB / 0.9846 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3539, allocations: 0 / 0.9846 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.277e-05/0.3539, allocations: 11.92 kB / 0.9846 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.3541, allocations: 15.86 kB / 0.9847 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008238/0.355, allocations: 119.7 kB / 0.9848 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.3552, allocations: 139.6 kB / 0.9849 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3554, allocations: 16 kB / 0.9849 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.3556, allocations: 51.88 kB / 0.985 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.3557, allocations: 67.73 kB / 0.985 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.3558, allocations: 4 kB / 0.985 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.3561, allocations: 95.84 kB / 0.9851 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.3562, allocations: 27.89 kB / 0.9852 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.3563, allocations: 51.72 kB / 0.9852 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.3568, allocations: 191.7 kB / 0.9854 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3568, allocations: 0 / 0.9854 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3568, allocations: 4 kB / 0.9854 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3568, allocations: 0 / 0.9854 GB, free: 7.105 MB / 0.7136 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.001118/0.3579, allocations: 474.5 kB / 0.9858 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.358, allocations: 12.03 kB / 0.9859 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/0.3581, allocations: 8.844 kB / 0.9859 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.3583, allocations: 184.6 kB / 0.986 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.3584, allocations: 12.36 kB / 0.9861 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.3584, allocations: 12.12 kB / 0.9861 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.3588, allocations: 97.62 kB / 0.9862 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3588, allocations: 0 / 0.9862 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.3588, allocations: 0 / 0.9862 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.3588, allocations: 4 kB / 0.9862 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.3591, allocations: 63.89 kB / 0.9862 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3604, allocations: 380.5 kB / 0.9866 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.3607, allocations: 62.55 kB / 0.9866 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.3609, allocations: 56.83 kB / 0.9867 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.3609, allocations: 0 / 0.9867 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004163/0.3613, allocations: 111.2 kB / 0.9868 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.575e-06/0.3613, allocations: 0 / 0.9868 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0008245/0.3622, allocations: 213.4 kB / 0.987 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.3622, allocations: 55.41 kB / 0.9871 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3624, allocations: 144.2 kB / 0.9872 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.3625, allocations: 33.7 kB / 0.9872 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3626, allocations: 100.3 kB / 0.9873 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.3626, allocations: 15.75 kB / 0.9873 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.3628, allocations: 41.69 kB / 0.9874 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.363, allocations: 318.8 kB / 0.9877 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.3632, allocations: 39.97 kB / 0.9877 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.3634, allocations: 80.27 kB / 0.9878 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.3638, allocations: 120.2 kB / 0.9879 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3638, allocations: 0 / 0.9879 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005052/0.3643, allocations: 157.3 kB / 0.9881 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.3643, allocations: 8 kB / 0.9881 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3644, allocations: 0 / 0.9881 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.3644, allocations: 4 kB / 0.9881 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.3646, allocations: 19.92 kB / 0.9881 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.3646, allocations: 3.938 kB / 0.9881 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.3648, allocations: 20.08 kB / 0.9881 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.3648, allocations: 4 kB / 0.9881 GB, free: 4.043 MB / 0.7136 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.0001586/0.365, allocations: 124.4 kB / 0.9882 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.3651, allocations: 11.91 kB / 0.9883 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.3651, allocations: 12.7 kB / 0.9883 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3651, allocations: 4 kB / 0.9883 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.3652, allocations: 4.047 kB / 0.9883 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3652, allocations: 11.88 kB / 0.9883 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.3661, allocations: 458.8 kB / 0.9887 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3661, allocations: 96 / 0.9887 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.3662, allocations: 11.94 kB / 0.9887 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.3662, allocations: 7.922 kB / 0.9887 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3663, allocations: 0 / 0.9887 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3663, allocations: 4 kB / 0.9887 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3663, allocations: 0 / 0.9887 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.3674, allocations: 0.8838 MB / 0.9896 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.3675, allocations: 89 kB / 0.9897 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3676, allocations: 0 / 0.9897 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.3678, allocations: 8.062 kB / 0.9897 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.3678, allocations: 15.98 kB / 0.9897 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.3679, allocations: 3.984 kB / 0.9897 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001072/0.368, allocations: 107.2 kB / 0.9898 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.368, allocations: 4 kB / 0.9898 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007138/0.3687, allocations: 43.98 kB / 0.9899 GB, free: 2.113 MB / 0.7136 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.0006194/0.3694, allocations: 177.2 kB / 0.99 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.3699, allocations: 103.9 kB / 0.9901 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.3699, allocations: 0 / 0.9901 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.3701, allocations: 59.91 kB / 0.9902 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.3705, allocations: 16.17 kB / 0.9902 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.3715, allocations: 377.1 kB / 0.9906 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.372, allocations: 0.7004 MB / 0.9912 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.31e-05/0.3721, allocations: 7.938 kB / 0.9913 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.3722, allocations: 15.42 kB / 0.9913 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.3722, allocations: 0 / 0.9913 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of Templates: time 0.007026/0.3792, allocations: 1.909 MB / 0.9931 GB, free: 14.71 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)