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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001294/0.001294, allocations: 193.9 kB / 16.14 MB, free: 6.715 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.8 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3435, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003331/0.3469, allocations: 1.562 MB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3484, allocations: 0.7439 MB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.3485, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.3485, allocations: 7.984 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.911e-05/0.3486, allocations: 11.86 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.3492, allocations: 99.83 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.3494, allocations: 67.78 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3495, allocations: 19.97 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3496, allocations: 27.91 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.3497, allocations: 43.83 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.3497, allocations: 4 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.35, allocations: 91.84 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.35, allocations: 15.92 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.3501, allocations: 27.84 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.3503, allocations: 143.9 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3503, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3503, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3504, allocations: 0 / 1.07 GB, free: 8.043 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.0007237/0.3511, allocations: 413 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3511, allocations: 8.031 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.3512, allocations: 8.844 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3513, allocations: 180.2 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.3514, allocations: 4.375 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3514, allocations: 4.375 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.3517, allocations: 69.97 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3517, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3517, allocations: 4 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3517, allocations: 4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.3519, allocations: 43.91 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.3526, allocations: 316.7 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.3528, allocations: 50.55 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.409e-05/0.3529, allocations: 32.97 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3529, allocations: 3.938 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.3532, allocations: 75.38 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.3532, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004362/0.3536, allocations: 141.5 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3537, allocations: 55.48 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3538, allocations: 129.7 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3538, allocations: 29.7 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.3539, allocations: 92.12 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.3539, allocations: 23.73 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.354, allocations: 21.72 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3541, allocations: 322.8 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.964e-05/0.3542, allocations: 31.98 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.826e-05/0.3543, allocations: 46.55 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.3545, allocations: 70.5 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3545, allocations: 0 / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000256/0.3548, allocations: 117.5 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3548, allocations: 4 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3548, allocations: 4 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3548, allocations: 0 / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.3549, allocations: 11.98 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.355, allocations: 3.938 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.355, allocations: 11.92 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.3551, allocations: 8 kB / 1.073 GB, free: 5.5 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.000108/0.3552, allocations: 129.2 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.3552, allocations: 7.906 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.3552, allocations: 4.375 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3552, allocations: 4 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3553, allocations: 0 / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3553, allocations: 3.984 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.3558, allocations: 382.4 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3558, allocations: 7.984 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.3558, allocations: 4 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3558, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3558, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3559, allocations: 4 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3559, allocations: 4.406 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.3562, allocations: 219.4 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.3562, allocations: 89.02 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3563, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.3564, allocations: 7.984 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.3564, allocations: 7.875 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3564, allocations: 7.984 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.434e-05/0.3565, allocations: 95.22 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3565, allocations: 0 / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003177/0.3568, allocations: 39.98 kB / 1.074 GB, free: 4.406 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.000389/0.3572, allocations: 145.6 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.3575, allocations: 83.81 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3575, allocations: 0 / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/0.3576, allocations: 31.98 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3579, allocations: 18.17 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.3583, allocations: 190.1 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.3587, allocations: 0.6887 MB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.109e-05/0.3587, allocations: 8 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.3588, allocations: 11.44 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3588, allocations: 0 / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of Templates: time 0.00439/0.3632, allocations: 1.378 MB / 1.076 GB, free: 1.816 MB / 0.8262 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)