Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 252 MB / 267.9 MB, free: 10.95 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.0009058/0.0009058, allocations: 175 kB / 327.6 MB, free: 2.184 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.33/1.33, allocations: 205.4 MB / 0.5785 GB, free: 20.53 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.0007961/0.0007961, allocations: 93.23 kB / 0.6831 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 12.38 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1773, allocations: 106.3 MB / 0.9012 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.3229, allocations: 133.7 MB / 1.032 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.3232, allocations: 83.95 kB / 1.032 GB, free: 10.12 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.008134/0.3313, allocations: 3.004 MB / 1.035 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3314, allocations: 0 / 1.035 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3314, allocations: 0 / 1.035 GB, free: 7.109 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.0004619/0.3318, allocations: 427.1 kB / 1.035 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3319, allocations: 12.03 kB / 1.035 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.3319, allocations: 4.844 kB / 1.035 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.332, allocations: 180.2 kB / 1.035 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.3321, allocations: 8.375 kB / 1.035 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3321, allocations: 4.375 kB / 1.035 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3323, allocations: 78.16 kB / 1.036 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3323, allocations: 192 / 1.036 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3323, allocations: 7.922 kB / 1.036 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3323, allocations: 4 kB / 1.036 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3324, allocations: 35.98 kB / 1.036 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.333, allocations: 320.8 kB / 1.036 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.3331, allocations: 54.44 kB / 1.036 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.3332, allocations: 32.97 kB / 1.036 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3332, allocations: 8 kB / 1.036 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.3334, allocations: 79.44 kB / 1.036 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.3334, allocations: 0 / 1.036 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003661/0.3337, allocations: 145.5 kB / 1.036 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.3338, allocations: 59.34 kB / 1.036 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.3339, allocations: 121.8 kB / 1.036 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3339, allocations: 29.7 kB / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.3339, allocations: 92.05 kB / 1.036 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.334, allocations: 15.88 kB / 1.036 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.334, allocations: 0 / 1.036 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.3341, allocations: 322.8 kB / 1.037 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.45e-05/0.3342, allocations: 39.91 kB / 1.037 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.154e-05/0.3342, allocations: 46.56 kB / 1.037 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.3344, allocations: 82.8 kB / 1.037 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.3344, allocations: 0 / 1.037 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002138/0.3346, allocations: 121.4 kB / 1.037 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3347, allocations: 8 kB / 1.037 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3347, allocations: 4.062 kB / 1.037 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.3347, allocations: 0 / 1.037 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.3348, allocations: 19.98 kB / 1.037 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3348, allocations: 0 / 1.037 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.3349, allocations: 7.906 kB / 1.037 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.3349, allocations: 4 kB / 1.037 GB, free: 4.539 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 7.832e-05/0.335, allocations: 121.7 kB / 1.037 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.335, allocations: 8 kB / 1.037 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.335, allocations: 12.36 kB / 1.037 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.335, allocations: 4 kB / 1.037 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.335, allocations: 0 / 1.037 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.335, allocations: 0 / 1.037 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.3354, allocations: 390.3 kB / 1.038 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3355, allocations: 4 kB / 1.038 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.3355, allocations: 11.94 kB / 1.038 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3355, allocations: 0 / 1.038 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3355, allocations: 3.984 kB / 1.038 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3355, allocations: 0 / 1.038 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3355, allocations: 0 / 1.038 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.3358, allocations: 215.5 kB / 1.038 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.3359, allocations: 81.02 kB / 1.038 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.3359, allocations: 7.984 kB / 1.038 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.336, allocations: 4 kB / 1.038 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.336, allocations: 15.91 kB / 1.038 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.336, allocations: 4 kB / 1.038 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.147e-05/0.3361, allocations: 91.27 kB / 1.038 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3361, allocations: 0 / 1.038 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002836/0.3364, allocations: 55.94 kB / 1.038 GB, free: 3.43 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.0003533/0.3367, allocations: 177.5 kB / 1.038 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.337, allocations: 76.02 kB / 1.038 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.337, allocations: 0 / 1.038 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/0.3371, allocations: 39.92 kB / 1.038 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.3373, allocations: 14.84 kB / 1.038 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.3377, allocations: 209.7 kB / 1.039 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.3379, allocations: 0.6887 MB / 1.039 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.338, allocations: 4 kB / 1.039 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.338, allocations: 11.44 kB / 1.039 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/0.338, allocations: 0 / 1.039 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of Templates: time 0.004511/0.3425, allocations: 1.516 MB / 1.041 GB, free: 0.6914 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)