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.001794/0.001794, 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.00201/0.00201, allocations: 193.3 kB / 16.14 MB, free: 6.688 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 472.6 MB / 0.7447 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.17 kB / 0.9114 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3178, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002504/0.3204, allocations: 1.554 MB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3215, allocations: 0.7322 MB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.3216, allocations: 7.938 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.3216, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.3217, allocations: 11.92 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.3221, allocations: 103.8 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.3222, allocations: 75.77 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.094e-05/0.3223, allocations: 7.984 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.3224, allocations: 43.83 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.3225, allocations: 27.91 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3225, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.3227, allocations: 95.84 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.3227, allocations: 19.91 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.3227, allocations: 27.86 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.3229, allocations: 139.9 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.323, allocations: 0 / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.525e-06/0.323, allocations: 4 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.323, 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.0005814/0.3236, allocations: 409 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.3236, allocations: 16.03 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.3236, allocations: 8.844 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.3238, allocations: 180 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3238, allocations: 8.375 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3238, allocations: 4.375 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.324, allocations: 69.97 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.324, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.324, allocations: 7.984 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3241, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3242, allocations: 35.98 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.3248, allocations: 316.8 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.3249, allocations: 50.5 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.325, allocations: 36.97 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.325, allocations: 0 / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.3252, allocations: 75.38 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3252, allocations: 0 / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004134/0.3257, allocations: 141.5 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3257, allocations: 59.39 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.3258, allocations: 125.8 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3258, allocations: 29.7 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.3259, allocations: 92.06 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.3259, allocations: 19.75 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.326, allocations: 25.7 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.3261, allocations: 322.8 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.272e-05/0.3262, allocations: 27.97 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.3263, allocations: 50.56 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3265, allocations: 78.73 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3265, allocations: 0 / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002493/0.3267, allocations: 125.5 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3268, allocations: 4 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3268, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3268, allocations: 4 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.3269, allocations: 11.98 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3269, allocations: 0 / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.327, allocations: 4 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.327, allocations: 4 kB / 1.073 GB, free: 5.508 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 8.851e-05/0.3271, allocations: 125.8 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.3271, allocations: 7.906 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.3272, allocations: 16.34 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3272, allocations: 0 / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3272, allocations: 4 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3272, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.3276, allocations: 386.3 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3276, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.3277, allocations: 8 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3277, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3277, allocations: 3.984 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3277, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3277, allocations: 3.938 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.328, allocations: 211.4 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.3281, allocations: 81.02 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.3281, allocations: 11.98 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.088e-05/0.3282, allocations: 0 / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.3283, allocations: 11.92 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3283, allocations: 7.938 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.36e-05/0.3283, allocations: 91.27 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3283, allocations: 0 / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000304/0.3286, allocations: 39.94 kB / 1.073 GB, free: 4.418 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.0003197/0.329, allocations: 161.8 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.3292, allocations: 75.89 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3292, allocations: 0 / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3293, allocations: 31.98 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.3296, allocations: 5.953 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.33, allocations: 194.3 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3303, allocations: 0.6926 MB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.3303, allocations: 8.547 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.3303, allocations: 7.438 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3303, allocations: 0 / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.003864/0.3342, allocations: 1.381 MB / 1.076 GB, free: 1.82 MB / 0.8262 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)