Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.556/4.556, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.002202/0.002202, allocations: 170.9 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.108/4.108, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.001591/0.00159, allocations: 93.53 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008319/0.000832, allocations: 8.938 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3139, allocations: 106.2 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3931/0.7071, allocations: 133.5 MB / 1.03 GB, free: 11.8 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000654/0.7078, allocations: 95.92 kB / 1.03 GB, free: 11.71 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.03299/0.7408, allocations: 3 MB / 1.033 GB, free: 8.699 MB / 0.6824 GB Notification: Performance of FrontEnd: time 4.328e-06/0.7409, allocations: 3.938 kB / 1.033 GB, free: 8.695 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.741, allocations: 0 / 1.033 GB, free: 8.695 MB / 0.6824 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.001816/0.7428, allocations: 432.9 kB / 1.033 GB, free: 8.215 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001032/0.743, allocations: 12.03 kB / 1.033 GB, free: 8.203 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.7431, allocations: 12.84 kB / 1.033 GB, free: 8.191 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.7435, allocations: 164.4 kB / 1.033 GB, free: 7.992 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/0.7436, allocations: 8.297 kB / 1.034 GB, free: 7.984 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.7437, allocations: 4.375 kB / 1.034 GB, free: 7.98 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.7445, allocations: 74.16 kB / 1.034 GB, free: 7.902 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.7445, allocations: 4.188 kB / 1.034 GB, free: 7.898 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.7446, allocations: 7.938 kB / 1.034 GB, free: 7.891 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.7446, allocations: 0 / 1.034 GB, free: 7.891 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006109/0.7453, allocations: 39.97 kB / 1.034 GB, free: 7.852 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.7476, allocations: 324.7 kB / 1.034 GB, free: 7.484 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.7482, allocations: 58.42 kB / 1.034 GB, free: 7.418 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.7486, allocations: 36.97 kB / 1.034 GB, free: 7.379 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 5.113e-05/0.7487, allocations: 4 kB / 1.034 GB, free: 7.375 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.7493, allocations: 79.38 kB / 1.034 GB, free: 7.285 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 6.662e-06/0.7493, allocations: 0 / 1.034 GB, free: 7.285 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7): time 0.001712/0.7511, allocations: 149.5 kB / 1.034 GB, free: 7.133 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.7512, allocations: 51.41 kB / 1.034 GB, free: 7.07 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.7516, allocations: 125.8 kB / 1.034 GB, free: 6.938 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.7517, allocations: 25.7 kB / 1.034 GB, free: 6.906 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.7519, allocations: 88.14 kB / 1.035 GB, free: 6.816 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 9.926e-05/0.752, allocations: 19.86 kB / 1.035 GB, free: 6.797 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.7521, allocations: 4 kB / 1.035 GB, free: 6.793 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0003413/0.7524, allocations: 318.8 kB / 1.035 GB, free: 6.473 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.7529, allocations: 31.98 kB / 1.035 GB, free: 6.441 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.7535, allocations: 50.55 kB / 1.035 GB, free: 6.383 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.754, allocations: 32.3 kB / 1.035 GB, free: 6.352 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.754, allocations: 4 kB / 1.035 GB, free: 6.348 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001092/0.7552, allocations: 125.5 kB / 1.035 GB, free: 6.219 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.7552, allocations: 4 kB / 1.035 GB, free: 6.215 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.7553, allocations: 3.938 kB / 1.035 GB, free: 6.211 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/0.7553, allocations: 0 / 1.035 GB, free: 6.211 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.7557, allocations: 15.94 kB / 1.035 GB, free: 6.195 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/0.7558, allocations: 8.047 kB / 1.035 GB, free: 6.188 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.7561, allocations: 4 kB / 1.035 GB, free: 6.184 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.7562, allocations: 8 kB / 1.035 GB, free: 6.176 MB / 0.6824 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 0.0002995/0.7565, allocations: 119 kB / 1.035 GB, free: 6.051 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.7566, allocations: 7.906 kB / 1.035 GB, free: 6.043 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.7567, allocations: 12.36 kB / 1.035 GB, free: 6.031 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.7568, allocations: 3.938 kB / 1.035 GB, free: 6.027 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.7568, allocations: 0 / 1.035 GB, free: 6.027 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.7569, allocations: 4 kB / 1.035 GB, free: 6.023 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.759, allocations: 386.4 kB / 1.036 GB, free: 5.59 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.7591, allocations: 0 / 1.036 GB, free: 5.59 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.7593, allocations: 8 kB / 1.036 GB, free: 5.582 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.7593, allocations: 0 / 1.036 GB, free: 5.582 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.7594, allocations: 3.984 kB / 1.036 GB, free: 5.578 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.7594, allocations: 4 kB / 1.036 GB, free: 5.574 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.7594, allocations: 0 / 1.036 GB, free: 5.574 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.7607, allocations: 219.3 kB / 1.036 GB, free: 5.344 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.7609, allocations: 92.95 kB / 1.036 GB, free: 5.234 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.7611, allocations: 3.984 kB / 1.036 GB, free: 5.23 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/0.7618, allocations: 8 kB / 1.036 GB, free: 5.223 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.7619, allocations: 11.92 kB / 1.036 GB, free: 5.211 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/0.762, allocations: 4 kB / 1.036 GB, free: 5.207 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.000328/0.7624, allocations: 91.27 kB / 1.036 GB, free: 5.117 MB / 0.6824 GB Notification: Performance of sort global known variables: time 1.463e-06/0.7624, allocations: 0 / 1.036 GB, free: 5.117 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.001693/0.7642, allocations: 51.94 kB / 1.036 GB, free: 5.066 MB / 0.6824 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.001171/0.7654, allocations: 169.6 kB / 1.036 GB, free: 4.91 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.7665, allocations: 83.88 kB / 1.036 GB, free: 4.828 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.7665, allocations: 0 / 1.036 GB, free: 4.828 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0005415/0.7671, allocations: 40.11 kB / 1.036 GB, free: 4.789 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.7685, allocations: 11.98 kB / 1.036 GB, free: 4.777 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.7698, allocations: 205.1 kB / 1.037 GB, free: 4.539 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.7703, allocations: 0.6926 MB / 1.037 GB, free: 3.82 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.7705, allocations: 0.5469 kB / 1.037 GB, free: 3.82 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.7706, allocations: 11.44 kB / 1.037 GB, free: 3.812 MB / 0.6824 GB Notification: Performance of SimCode: time 1.423e-06/0.7706, allocations: 0 / 1.037 GB, free: 3.812 MB / 0.6824 GB Notification: Performance of Templates: time 0.01106/0.7817, allocations: 1.52 MB / 1.039 GB, free: 2.293 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)