Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006171/0.00617, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003665, allocations: 7.781 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3609, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002104/0.3631, allocations: 1.219 MB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3644, allocations: 0.7208 MB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.3645, allocations: 0 / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.3645, allocations: 11.86 kB / 1.076 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.51e-05/0.3646, allocations: 7.938 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.3651, allocations: 99.77 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.3652, allocations: 67.84 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3653, allocations: 19.95 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.3654, allocations: 27.92 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.3655, allocations: 35.78 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.3655, allocations: 7.984 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.3657, allocations: 83.92 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.3657, allocations: 19.91 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.3658, allocations: 57.55 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.366, allocations: 135.8 kB / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.366, allocations: 4 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.984e-06/0.366, allocations: 0 / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.3661, allocations: 0 / 1.077 GB, free: 4.98 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.0006347/0.3667, allocations: 409 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3668, allocations: 8.031 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.3668, allocations: 8.844 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3669, allocations: 176.3 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.367, allocations: 4.375 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.367, allocations: 384 / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.3672, allocations: 81.97 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.3672, allocations: 0 / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3672, allocations: 0 / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3673, allocations: 0 / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.3674, allocations: 47.91 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.3681, allocations: 320.7 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.3682, allocations: 54.44 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/0.3683, allocations: 44.95 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3683, allocations: 0 / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.3685, allocations: 83.31 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3686, allocations: 0 / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004031/0.369, allocations: 149.6 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.369, allocations: 55.41 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3691, allocations: 121.8 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.3692, allocations: 29.7 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.3692, allocations: 84.14 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3692, allocations: 19.75 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.3693, allocations: 21.7 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3694, allocations: 322.8 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/0.3695, allocations: 31.97 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.476e-05/0.3696, allocations: 54.94 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3698, allocations: 78.55 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3698, allocations: 0 / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002382/0.3701, allocations: 117.5 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3701, allocations: 13.31 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3701, allocations: 0 / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3701, allocations: 0 / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.3702, allocations: 19.92 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3702, allocations: 0 / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.3703, allocations: 11.91 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3703, allocations: 4 kB / 1.079 GB, free: 2.41 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 0.0001085/0.3704, allocations: 117.8 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.3705, allocations: 15.92 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.3705, allocations: 12.38 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3705, allocations: 0 / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3705, allocations: 0 / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3705, allocations: 0 / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.371, allocations: 398.6 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.371, allocations: 4 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.371, allocations: 4 kB / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3711, allocations: 0 / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3711, allocations: 7.984 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3711, allocations: 0 / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3711, allocations: 7.922 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.3714, allocations: 215.5 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.3714, allocations: 89 kB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.3714, allocations: 4 kB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.3715, allocations: 4 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.3716, allocations: 15.86 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.3716, allocations: 0 / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.3717, allocations: 99.42 kB / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3717, allocations: 0 / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002863/0.372, allocations: 40 kB / 1.08 GB, free: 1.297 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.0003402/0.3723, allocations: 149.4 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3725, allocations: 79.95 kB / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3726, allocations: 0 / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.3727, allocations: 35.98 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.3729, allocations: 18.14 kB / 1.08 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.3733, allocations: 209.2 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.3736, allocations: 0.6848 MB / 1.081 GB, free: 80 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.3736, allocations: 3.984 kB / 1.081 GB, free: 76 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.3736, allocations: 11.44 kB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3737, allocations: 0 / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of Templates: time 0.004185/0.3778, allocations: 1.379 MB / 1.082 GB, free: 14.69 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)