Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.87/1.87, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 179.4 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009118/0.0009117, allocations: 98.09 kB / 0.7808 GB, free: 43.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004407, allocations: 12 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6859/0.6864, allocations: 120.3 MB / 1.026 GB, free: 56.8 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1948/0.8812, allocations: 143.2 MB / 1.166 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.8816, allocations: 81.41 kB / 1.166 GB, free: 14.96 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.008997/0.8906, allocations: 3.038 MB / 1.169 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8906, allocations: 4.594 kB / 1.169 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.8906, allocations: 0.8125 kB / 1.169 GB, free: 11.96 MB / 0.7448 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.0005246/0.8911, allocations: 417.8 kB / 1.17 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.8912, allocations: 8.031 kB / 1.17 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.8912, allocations: 16.84 kB / 1.17 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.8913, allocations: 177.3 kB / 1.17 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.8914, allocations: 4.375 kB / 1.17 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.8914, allocations: 4.375 kB / 1.17 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.8916, allocations: 70.22 kB / 1.17 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8916, allocations: 192 / 1.17 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.8916, allocations: 6.375 kB / 1.17 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.8916, allocations: 4 kB / 1.17 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.8918, allocations: 51.89 kB / 1.17 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.8924, allocations: 316.8 kB / 1.17 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.8925, allocations: 50.5 kB / 1.17 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.8926, allocations: 36.95 kB / 1.17 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.8926, allocations: 0 / 1.17 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.8928, allocations: 87.31 kB / 1.17 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.8928, allocations: 4 kB / 1.17 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003762/0.8932, allocations: 137.9 kB / 1.171 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.8932, allocations: 59.41 kB / 1.171 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.8933, allocations: 127.2 kB / 1.171 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.8934, allocations: 33.7 kB / 1.171 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.8934, allocations: 84.14 kB / 1.171 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.8935, allocations: 15.81 kB / 1.171 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.8935, allocations: 0 / 1.171 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8936, allocations: 326.8 kB / 1.171 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.8937, allocations: 27.98 kB / 1.171 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.843e-05/0.8938, allocations: 58.48 kB / 1.171 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.894, allocations: 78.62 kB / 1.171 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.894, allocations: 0 / 1.171 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002299/0.8942, allocations: 121.5 kB / 1.171 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.8943, allocations: 8 kB / 1.171 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8943, allocations: 0 / 1.171 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.8943, allocations: 3.938 kB / 1.171 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.8944, allocations: 15.98 kB / 1.171 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8944, allocations: 8 kB / 1.171 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.8945, allocations: 7.984 kB / 1.171 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.8945, allocations: 4 kB / 1.171 GB, free: 9.402 MB / 0.7448 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.0001051/0.8946, allocations: 122.2 kB / 1.172 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.8946, allocations: 7.906 kB / 1.172 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.8947, allocations: 8.375 kB / 1.172 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8947, allocations: 0 / 1.172 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.8947, allocations: 8 kB / 1.172 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8947, allocations: 3.984 kB / 1.172 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.8951, allocations: 378.4 kB / 1.172 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.8952, allocations: 3.984 kB / 1.172 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.8952, allocations: 4 kB / 1.172 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.8952, allocations: 0.8438 kB / 1.172 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.8952, allocations: 11.94 kB / 1.172 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.8952, allocations: 0 / 1.172 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8952, allocations: 0 / 1.172 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.8955, allocations: 227.3 kB / 1.172 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.8956, allocations: 81.02 kB / 1.172 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.8956, allocations: 8 kB / 1.172 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.8957, allocations: 11.98 kB / 1.172 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.8957, allocations: 3.938 kB / 1.172 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.8957, allocations: 7.984 kB / 1.172 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.8958, allocations: 89.36 kB / 1.172 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8958, allocations: 0 / 1.172 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002866/0.8961, allocations: 47.98 kB / 1.172 GB, free: 8.301 MB / 0.7448 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.0003611/0.8965, allocations: 176 kB / 1.173 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.8967, allocations: 80.12 kB / 1.173 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8967, allocations: 0 / 1.173 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.8968, allocations: 44.25 kB / 1.173 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.8971, allocations: 0 / 1.173 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.8975, allocations: 209.5 kB / 1.173 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.8978, allocations: 0.6888 MB / 1.174 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.8978, allocations: 7.984 kB / 1.174 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.8979, allocations: 11.44 kB / 1.174 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.8979, allocations: 0 / 1.174 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of Templates: time 0.004369/0.9023, allocations: 1.508 MB / 1.175 GB, free: 5.57 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)