Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 97.64 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.0101/0.0101, allocations: 168.8 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.96/2.96, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004144, allocations: 11.16 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3572, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001893/0.3591, allocations: 1.223 MB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3606, allocations: 0.7169 MB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.3607, allocations: 0 / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.3607, allocations: 11.86 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.3608, allocations: 7.938 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.3613, allocations: 99.77 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3615, allocations: 67.83 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3616, allocations: 19.97 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.3617, allocations: 23.92 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.703e-05/0.3618, allocations: 39.83 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3618, allocations: 4 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.362, allocations: 91.84 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.362, allocations: 15.92 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.3621, allocations: 49.56 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.3623, allocations: 139.9 kB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3623, allocations: 0 / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.787e-06/0.3624, allocations: 4 kB / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3624, allocations: 7.938 kB / 1.077 GB, free: 5.012 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.0006356/0.363, allocations: 401 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3631, allocations: 8.031 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.3631, allocations: 8.844 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3632, allocations: 176.3 kB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.3633, allocations: 8.312 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.3633, allocations: 4.375 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3635, allocations: 77.97 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3635, allocations: 0 / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3635, allocations: 4 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3635, allocations: 0 / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.3637, allocations: 47.91 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.3644, allocations: 316.7 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3646, allocations: 54.5 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3647, allocations: 44.95 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3648, allocations: 0 / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.3649, allocations: 83.38 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.365, allocations: 0 / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004156/0.3654, allocations: 149.5 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3654, allocations: 51.41 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/0.3655, allocations: 125.8 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.3656, allocations: 29.7 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.3656, allocations: 88.14 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3657, allocations: 19.75 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.3657, allocations: 21.7 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3658, allocations: 318.8 kB / 1.079 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.3659, allocations: 35.97 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.366, allocations: 50.5 kB / 1.079 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.3662, allocations: 82.53 kB / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3662, allocations: 0 / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002502/0.3665, allocations: 121.5 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3665, allocations: 8 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3665, allocations: 0 / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3665, allocations: 0 / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.3666, allocations: 19.92 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.3666, allocations: 0 / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.3667, allocations: 7.906 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.3667, allocations: 8 kB / 1.079 GB, free: 2.441 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.0001837/0.3669, allocations: 124.7 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.3669, allocations: 11.92 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.367, allocations: 8.375 kB / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.367, allocations: 4 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.367, allocations: 0 / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.367, allocations: 0 / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.3676, allocations: 394.6 kB / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3676, allocations: 8 kB / 1.079 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.3676, allocations: 4 kB / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3677, allocations: 3.938 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3677, allocations: 3.984 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3677, allocations: 0 / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3677, allocations: 3.938 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.368, allocations: 219.5 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.3681, allocations: 85.02 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3681, allocations: 3.984 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.3682, allocations: 4 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.3682, allocations: 19.91 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.3683, allocations: 0 / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.844e-05/0.3684, allocations: 95.27 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3684, allocations: 4 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000309/0.3687, allocations: 36 kB / 1.08 GB, free: 1.332 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.0003826/0.3691, allocations: 152.3 kB / 1.08 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.3694, allocations: 83.89 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3694, allocations: 0 / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3695, allocations: 35.97 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.3698, allocations: 19.86 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.3702, allocations: 213.2 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3706, allocations: 0.6809 MB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.3706, allocations: 7.984 kB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.3706, allocations: 11.44 kB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3706, allocations: 0 / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of Templates: time 0.004288/0.3749, allocations: 1.359 MB / 1.082 GB, free: 14.73 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)