Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.703/3.703, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.002314/0.002313, allocations: 178.6 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.863/3.863, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.001174/0.001174, allocations: 98.34 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008082/0.0008085, allocations: 12.16 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2933, allocations: 106.3 MB / 0.8995 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3541/0.6475, allocations: 133.6 MB / 1.03 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000384/0.648, allocations: 87.94 kB / 1.03 GB, free: 11.65 MB / 0.6823 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.01804/0.666, allocations: 3.004 MB / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6661, allocations: 0 / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.6661, allocations: 0 / 1.033 GB, free: 8.637 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.001004/0.6671, allocations: 424.9 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.6672, allocations: 12.03 kB / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.6673, allocations: 8.844 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.6675, allocations: 160.4 kB / 1.034 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.6675, allocations: 12.31 kB / 1.034 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.6676, allocations: 8.375 kB / 1.034 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.6679, allocations: 74.14 kB / 1.034 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.668, allocations: 192 / 1.034 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.668, allocations: 7.938 kB / 1.034 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.668, allocations: 4 kB / 1.034 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.6683, allocations: 39.97 kB / 1.034 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.6693, allocations: 324.7 kB / 1.034 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.6696, allocations: 58.42 kB / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.6698, allocations: 36.97 kB / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.6698, allocations: 7.938 kB / 1.034 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.6702, allocations: 75.38 kB / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 4.328e-06/0.6702, allocations: 0 / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0007607/0.671, allocations: 161.5 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.6711, allocations: 51.41 kB / 1.034 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.6712, allocations: 121.8 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.6713, allocations: 29.7 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.6714, allocations: 88.14 kB / 1.035 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.6714, allocations: 19.8 kB / 1.035 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.6715, allocations: 0 / 1.035 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.6717, allocations: 322.8 kB / 1.035 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.6718, allocations: 23.98 kB / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.672, allocations: 55.41 kB / 1.035 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.6723, allocations: 39.98 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6723, allocations: 0 / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005299/0.6728, allocations: 125.4 kB / 1.035 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.6729, allocations: 8.062 kB / 1.035 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.6729, allocations: 3.938 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.6729, allocations: 4 kB / 1.035 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.6731, allocations: 11.98 kB / 1.035 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6731, allocations: 0 / 1.035 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.6733, allocations: 11.98 kB / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.6733, allocations: 4 kB / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.0001783/0.6735, allocations: 129.7 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.6736, allocations: 7.906 kB / 1.035 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.6736, allocations: 4.422 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6736, allocations: 3.984 kB / 1.035 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6737, allocations: 0 / 1.035 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.6737, allocations: 3.984 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.6746, allocations: 382.5 kB / 1.036 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.6747, allocations: 7.984 kB / 1.036 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/0.6748, allocations: 7.938 kB / 1.036 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.6748, allocations: 0 / 1.036 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.6748, allocations: 0 / 1.036 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.6749, allocations: 4 kB / 1.036 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6749, allocations: 0 / 1.036 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.6754, allocations: 223.3 kB / 1.036 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.6755, allocations: 84.95 kB / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.6756, allocations: 0 / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.6758, allocations: 8.047 kB / 1.036 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.6758, allocations: 15.92 kB / 1.036 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.6759, allocations: 11.98 kB / 1.036 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.339e-05/0.676, allocations: 91.22 kB / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/0.676, allocations: 4 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006671/0.6767, allocations: 51.92 kB / 1.036 GB, free: 4.988 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.0005875/0.6773, allocations: 165 kB / 1.036 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.6778, allocations: 79.95 kB / 1.036 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6778, allocations: 0 / 1.036 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.678, allocations: 35.98 kB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.6785, allocations: 15.98 kB / 1.036 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006733/0.6792, allocations: 201.9 kB / 1.037 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.6797, allocations: 0.6848 MB / 1.037 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.347e-05/0.6798, allocations: 7.984 kB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.6798, allocations: 11.44 kB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.6798, allocations: 3.938 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of Templates: time 0.007311/0.6872, allocations: 1.522 MB / 1.039 GB, free: 2.223 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)