Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001114/0.001114, allocations: 193 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 0.6367 GB, free: 8.59 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008493/0.0008493, allocations: 97.83 kB / 0.751 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2907, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7405/1.031, allocations: 141.3 MB / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003599/1.032, allocations: 84.45 kB / 1.126 GB, free: 33.81 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.01175/1.043, allocations: 3.599 MB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.545e-06/1.044, allocations: 4 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.044, allocations: 0 / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006597/1.044, allocations: 489.2 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.044, allocations: 11.41 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/1.044, allocations: 9.969 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.045, allocations: 179.5 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/1.045, allocations: 12 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/1.045, allocations: 8.469 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/1.045, allocations: 102.9 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.045, allocations: 0 / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/1.045, allocations: 4 kB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.045, allocations: 7.797 kB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/1.045, allocations: 66.88 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/1.046, allocations: 378.9 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/1.046, allocations: 80.83 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/1.046, allocations: 0 / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/1.047, allocations: 101.7 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 3.326e-06/1.047, allocations: 112 / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0005858/1.047, allocations: 238.2 kB / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/1.047, allocations: 62.88 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/1.047, allocations: 130.9 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/1.047, allocations: 25.7 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/1.048, allocations: 103.8 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/1.048, allocations: 20.52 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/1.048, allocations: 0 / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/1.048, allocations: 322.3 kB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/1.048, allocations: 50.78 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/1.048, allocations: 83.7 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/1.048, allocations: 55.38 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.048, allocations: 0.8438 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000359/1.048, allocations: 166.4 kB / 1.133 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.048, allocations: 8.094 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.048, allocations: 4.5 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.049, allocations: 0 / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/1.049, allocations: 23.47 kB / 1.133 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.049, allocations: 0 / 1.133 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/1.049, allocations: 20.12 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/1.049, allocations: 4 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000102/1.049, allocations: 131.2 kB / 1.133 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/1.049, allocations: 11.33 kB / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/1.049, allocations: 12.72 kB / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.049, allocations: 0 / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/1.049, allocations: 0 / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.049, allocations: 4.5 kB / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/1.05, allocations: 467.6 kB / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.05, allocations: 0 / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/1.05, allocations: 13.59 kB / 1.133 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/1.05, allocations: 4 kB / 1.133 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.05, allocations: 7.422 kB / 1.133 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/1.05, allocations: 0.5469 kB / 1.133 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.05, allocations: 7.891 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/1.05, allocations: 277 kB / 1.133 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/1.05, allocations: 85.02 kB / 1.134 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/1.05, allocations: 3.938 kB / 1.134 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/1.05, allocations: 19.45 kB / 1.134 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/1.05, allocations: 12.19 kB / 1.134 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/1.05, allocations: 8.219 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.624e-05/1.051, allocations: 106 kB / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.051, allocations: 0 / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003279/1.051, allocations: 51.56 kB / 1.134 GB, free: 27.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000413/1.051, allocations: 178.3 kB / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003232/1.052, allocations: 123.1 kB / 1.134 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.052, allocations: 4.062 kB / 1.134 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/1.052, allocations: 62.83 kB / 1.134 GB, free: 27.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/1.052, allocations: 11.52 kB / 1.134 GB, free: 27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/1.052, allocations: 248.3 kB / 1.134 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/1.053, allocations: 0.7095 MB / 1.135 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.824e-05/1.053, allocations: 14.12 kB / 1.135 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/1.053, allocations: 14.86 kB / 1.135 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of SimCode: time 4.5e-07/1.053, allocations: 0 / 1.135 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.005353/1.058, allocations: 1.96 MB / 1.137 GB, free: 24.93 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)