Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.617/2.617, allocations: 287.5 MB / 303.2 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 192.8 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009235/0.0009233, allocations: 88.05 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000687/0.0006872, allocations: 10.67 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2171, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9036/1.121, allocations: 139.9 MB / 1.116 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/1.121, allocations: 87.31 kB / 1.116 GB, free: 15.93 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01416/1.135, allocations: 2.996 MB / 1.119 GB, free: 31.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.106e-06/1.135, allocations: 0 / 1.119 GB, free: 31.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.135, allocations: 3.75 kB / 1.119 GB, free: 31.48 MB / 0.698 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.0007788/1.136, allocations: 424.5 kB / 1.119 GB, free: 31.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.136, allocations: 7.688 kB / 1.119 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/1.136, allocations: 8.531 kB / 1.119 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/1.136, allocations: 172 kB / 1.119 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/1.136, allocations: 7.156 kB / 1.119 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/1.137, allocations: 6.938 kB / 1.119 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/1.137, allocations: 76.88 kB / 1.12 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.137, allocations: 192 / 1.12 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/1.137, allocations: 3.938 kB / 1.12 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/1.137, allocations: 0 / 1.12 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/1.137, allocations: 45.61 kB / 1.12 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/1.138, allocations: 317.7 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/1.138, allocations: 60.44 kB / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/1.138, allocations: 38.12 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/1.138, allocations: 0 / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/1.139, allocations: 83.97 kB / 1.12 GB, free: 30.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/1.139, allocations: 0 / 1.12 GB, free: 30.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006067/1.139, allocations: 145.9 kB / 1.12 GB, free: 30.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/1.139, allocations: 62.16 kB / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/1.139, allocations: 117.4 kB / 1.12 GB, free: 30.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/1.14, allocations: 33.14 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/1.14, allocations: 90.3 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/1.14, allocations: 15.16 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-06/1.14, allocations: 3.438 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.14, allocations: 321.5 kB / 1.121 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/1.14, allocations: 28.02 kB / 1.121 GB, free: 29.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/1.14, allocations: 53.62 kB / 1.121 GB, free: 29.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/1.14, allocations: 81.36 kB / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.14, allocations: 0 / 1.121 GB, free: 29.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004266/1.141, allocations: 122.7 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.141, allocations: 7.094 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.141, allocations: 0 / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/1.141, allocations: 5.375 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/1.141, allocations: 11.23 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.141, allocations: 2.922 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/1.141, allocations: 8.125 kB / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/1.141, allocations: 7.312 kB / 1.121 GB, free: 29.7 MB / 0.698 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.0001345/1.141, allocations: 127.3 kB / 1.121 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/1.141, allocations: 3.906 kB / 1.121 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/1.141, allocations: 11.59 kB / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.141, allocations: 0 / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.141, allocations: 0 / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.142, allocations: 3.047 kB / 1.121 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/1.142, allocations: 384.6 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.142, allocations: 0 / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.921e-05/1.142, allocations: 6.828 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.142, allocations: 7.906 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/1.142, allocations: 0 / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/1.142, allocations: 7.281 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.142, allocations: 4 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/1.143, allocations: 221.3 kB / 1.122 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/1.143, allocations: 88.94 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/1.143, allocations: 3.188 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/1.143, allocations: 7.812 kB / 1.122 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/1.143, allocations: 10.48 kB / 1.122 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/1.143, allocations: 3.844 kB / 1.122 GB, free: 29.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.389e-05/1.143, allocations: 97.84 kB / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/1.143, allocations: 3.938 kB / 1.122 GB, free: 28.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004586/1.144, allocations: 49.88 kB / 1.122 GB, free: 28.92 MB / 0.698 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.0004734/1.144, allocations: 170.8 kB / 1.122 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003994/1.145, allocations: 73.38 kB / 1.122 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.145, allocations: 0 / 1.122 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/1.145, allocations: 37.83 kB / 1.122 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/1.145, allocations: 18.17 kB / 1.122 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/1.146, allocations: 192.7 kB / 1.123 GB, free: 28.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/1.146, allocations: 0.6903 MB / 1.123 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.781e-05/1.146, allocations: 6.875 kB / 1.123 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/1.146, allocations: 11.25 kB / 1.123 GB, free: 27.95 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.146, allocations: 0 / 1.123 GB, free: 27.95 MB / 0.698 GB Notification: Performance of Templates: time 0.005763/1.152, allocations: 1.512 MB / 1.125 GB, free: 27.82 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)