Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008677/0.0008677, 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.00674/0.00674, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003976, allocations: 9.969 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3634, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002326/0.3658, allocations: 1.227 MB / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3674, allocations: 0.7208 MB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.3674, allocations: 0 / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.3675, allocations: 7.875 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.3676, allocations: 11.92 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007137/0.3683, allocations: 99.77 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.3685, allocations: 71.83 kB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3686, allocations: 15.98 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.3687, allocations: 31.84 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3689, allocations: 35.83 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.3689, allocations: 4 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.3692, allocations: 91.91 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.3692, allocations: 15.91 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.3693, allocations: 53.56 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.3697, allocations: 143.8 kB / 1.077 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3698, allocations: 4 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.466e-06/0.3698, allocations: 0 / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.3698, allocations: 0 / 1.077 GB, free: 5.031 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.000917/0.3707, allocations: 401 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.3708, allocations: 8.031 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.3708, allocations: 12.83 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.371, allocations: 176.3 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.3711, allocations: 4.375 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.3711, allocations: 8.375 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3714, allocations: 73.97 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3714, allocations: 0 / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.3714, allocations: 0 / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3714, allocations: 0 / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.3716, allocations: 47.91 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007894/0.3724, allocations: 324.7 kB / 1.078 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.3726, allocations: 66.42 kB / 1.078 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.3727, allocations: 32.97 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3727, allocations: 0 / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.373, allocations: 83.31 kB / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.373, allocations: 0 / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004894/0.3735, allocations: 149.6 kB / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.3736, allocations: 55.41 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3737, allocations: 121.8 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.3737, allocations: 29.7 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.134e-05/0.3738, allocations: 84.14 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.3739, allocations: 27.73 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.3739, allocations: 17.72 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3741, allocations: 330.7 kB / 1.079 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.3742, allocations: 23.98 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3743, allocations: 46.56 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3745, allocations: 78.55 kB / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3745, allocations: 0 / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002957/0.3748, allocations: 125.5 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.3748, allocations: 4 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3749, allocations: 3.938 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.3749, allocations: 4 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.375, allocations: 11.98 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.375, allocations: 0 / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/0.3751, allocations: 15.91 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.3751, allocations: 0 / 1.079 GB, free: 2.465 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.000151/0.3753, allocations: 129.8 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.3753, allocations: 3.938 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.3754, allocations: 12.38 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3754, allocations: 0 / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.3754, allocations: 0 / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3754, allocations: 3.938 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.376, allocations: 398.3 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.376, allocations: 0 / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.3761, allocations: 7.984 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3761, allocations: 0 / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3761, allocations: 4 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.3761, allocations: 4 kB / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3761, allocations: 3.938 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.3765, allocations: 223.9 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3766, allocations: 81.02 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3766, allocations: 0 / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.3767, allocations: 8 kB / 1.08 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.3768, allocations: 19.86 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3768, allocations: 8 kB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.408e-05/0.3769, allocations: 91.27 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3769, allocations: 0 / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003276/0.3772, allocations: 39.98 kB / 1.08 GB, free: 1.348 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.0005119/0.3777, allocations: 156.5 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.378, allocations: 75.91 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.378, allocations: 0 / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3781, allocations: 43.91 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.3784, allocations: 11.94 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.3789, allocations: 205.2 kB / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.3792, allocations: 0.6887 MB / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.741e-05/0.3792, allocations: 4 kB / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.3792, allocations: 11.44 kB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of SimCode: time 9.22e-07/0.3793, allocations: 0 / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of Templates: time 0.004491/0.3838, allocations: 1.371 MB / 1.082 GB, free: 14.74 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)