Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009097/0.00091, allocations: 176.9 kB / 327.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006762/0.0006763, allocations: 88.08 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003942, allocations: 16.52 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.3287, allocations: 133.7 MB / 1.032 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.329, allocations: 83.94 kB / 1.032 GB, free: 9.688 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.008319/0.3373, allocations: 3.004 MB / 1.035 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3373, allocations: 0 / 1.035 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3373, allocations: 4 kB / 1.035 GB, free: 6.672 MB / 0.6823 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.0004862/0.3378, allocations: 424.9 kB / 1.035 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3379, allocations: 8.031 kB / 1.035 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.3379, allocations: 8.844 kB / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.707e-05/0.338, allocations: 176.2 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3381, allocations: 4.359 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3381, allocations: 4.375 kB / 1.035 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3383, allocations: 82.14 kB / 1.036 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3383, allocations: 192 / 1.036 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3383, allocations: 3.938 kB / 1.036 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3383, allocations: 0 / 1.036 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3384, allocations: 47.97 kB / 1.036 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.339, allocations: 312.7 kB / 1.036 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.3391, allocations: 58.44 kB / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.3392, allocations: 36.97 kB / 1.036 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.3392, allocations: 0 / 1.036 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.3394, allocations: 79.38 kB / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.3394, allocations: 4 kB / 1.036 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003495/0.3398, allocations: 145.8 kB / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.3398, allocations: 59.33 kB / 1.036 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.3399, allocations: 121.8 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3399, allocations: 25.7 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.34, allocations: 100 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.872e-05/0.34, allocations: 11.91 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.34, allocations: 0 / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.3401, allocations: 322.8 kB / 1.037 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.3402, allocations: 31.98 kB / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.3403, allocations: 50.56 kB / 1.037 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3404, allocations: 82.55 kB / 1.037 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3404, allocations: 0 / 1.037 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002197/0.3406, allocations: 129.4 kB / 1.037 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3407, allocations: 4 kB / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3407, allocations: 4 kB / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3407, allocations: 0 / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.3408, allocations: 11.98 kB / 1.037 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3408, allocations: 4 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.31e-05/0.3409, allocations: 11.97 kB / 1.037 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3409, allocations: 4 kB / 1.037 GB, free: 4.105 MB / 0.6823 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.816e-05/0.341, allocations: 132.1 kB / 1.037 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.341, allocations: 4 kB / 1.037 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.341, allocations: 4.375 kB / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.341, allocations: 0 / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.341, allocations: 0 / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3411, allocations: 0 / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.3415, allocations: 398.3 kB / 1.038 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3415, allocations: 4 kB / 1.038 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.3415, allocations: 11.92 kB / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3415, allocations: 0 / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3416, allocations: 0 / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3416, allocations: 4 kB / 1.038 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3416, allocations: 0 / 1.038 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.3418, allocations: 219.4 kB / 1.038 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.3419, allocations: 81.02 kB / 1.038 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.3419, allocations: 0 / 1.038 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.342, allocations: 7.938 kB / 1.038 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.342, allocations: 15.92 kB / 1.038 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.342, allocations: 4 kB / 1.038 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.059e-05/0.3421, allocations: 95.92 kB / 1.038 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3421, allocations: 0 / 1.038 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002814/0.3424, allocations: 47.92 kB / 1.038 GB, free: 3 MB / 0.6823 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,occ.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003061/0.3427, allocations: 177.5 kB / 1.038 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.3429, allocations: 76.19 kB / 1.038 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3429, allocations: 0 / 1.038 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.343, allocations: 39.91 kB / 1.038 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.3433, allocations: 9.844 kB / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.3436, allocations: 209.1 kB / 1.039 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.3438, allocations: 0.6887 MB / 1.039 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.732e-05/0.3439, allocations: 8 kB / 1.039 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.3439, allocations: 11.44 kB / 1.039 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3439, allocations: 0 / 1.039 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of Templates: time 0.003527/0.3474, allocations: 1.501 MB / 1.041 GB, free: 252 kB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)