Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001522/0.001522, allocations: 198.1 kB / 16.14 MB, free: 6.695 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.11 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3613, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003329/0.3646, allocations: 1.564 MB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.366, allocations: 0.7362 MB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.3661, allocations: 4 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.3661, allocations: 3.938 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.565e-05/0.3662, allocations: 3.938 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.3667, allocations: 103.8 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.3668, allocations: 79.7 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.509e-05/0.3669, allocations: 7.984 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.367, allocations: 39.91 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.281e-05/0.367, allocations: 31.89 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3671, allocations: 4 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.3673, allocations: 91.84 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.3673, allocations: 19.91 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.3673, allocations: 27.86 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.3676, allocations: 139.9 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3676, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.51e-07/0.3676, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3676, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006503/0.3683, allocations: 417 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3683, allocations: 12.03 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.3684, allocations: 8.781 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3685, allocations: 172.2 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3685, allocations: 8.375 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.3686, allocations: 4.375 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.3688, allocations: 77.89 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3688, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3688, allocations: 7.984 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3688, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.369, allocations: 35.98 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.3696, allocations: 308.8 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.3698, allocations: 62.44 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.3699, allocations: 36.95 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3699, allocations: 0 / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.3702, allocations: 71.38 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3702, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004281/0.3706, allocations: 149.5 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.3707, allocations: 59.39 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3708, allocations: 117.8 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3708, allocations: 29.7 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.3709, allocations: 92.12 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.3709, allocations: 15.75 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.371, allocations: 29.7 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3711, allocations: 326.8 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/0.3712, allocations: 23.98 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3713, allocations: 54.92 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.3715, allocations: 74.8 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3715, allocations: 4 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002633/0.3718, allocations: 117.5 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3718, allocations: 4 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3718, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3718, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3719, allocations: 16 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3719, allocations: 7.984 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.372, allocations: 4 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.372, allocations: 8.062 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.587e-05/0.3722, allocations: 121.7 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.3722, allocations: 7.906 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.3722, allocations: 12.36 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3722, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3722, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3722, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.3727, allocations: 386.4 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3727, allocations: 3.938 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.3728, allocations: 4 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3728, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3728, allocations: 3.984 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3728, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3728, allocations: 3.938 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.3731, allocations: 211.4 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.3732, allocations: 85.02 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.3732, allocations: 7.984 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.3733, allocations: 0 / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.3734, allocations: 15.86 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3734, allocations: 0 / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.238e-05/0.3734, allocations: 99.42 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3734, allocations: 3.938 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003049/0.3737, allocations: 36 kB / 1.073 GB, free: 4.414 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000384/0.3741, allocations: 161.4 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.3744, allocations: 67.95 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3744, allocations: 0 / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3745, allocations: 44.05 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.3748, allocations: 3.984 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.3752, allocations: 194.1 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.3755, allocations: 0.694 MB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.855e-05/0.3756, allocations: 0.5469 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.3756, allocations: 11.44 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3756, allocations: 0 / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of Templates: time 0.004469/0.3801, allocations: 1.377 MB / 1.076 GB, free: 1.82 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)