Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001301/0.001301, allocations: 176.7 kB / 377.1 MB, free: 1.523 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.935/1.935, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0009868/0.0009871, allocations: 84.28 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2564, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7044/0.9609, allocations: 141 MB / 1.126 GB, free: 34.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.9612, allocations: 89.95 kB / 1.126 GB, free: 33.99 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.008535/0.9698, allocations: 2.98 MB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9698, allocations: 3.906 kB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.9698, allocations: 3.938 kB / 1.129 GB, free: 31.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004412/0.9703, allocations: 436.3 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.9703, allocations: 8.031 kB / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.9703, allocations: 30.56 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.9704, allocations: 6.062 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.767e-05/0.9705, allocations: 179 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.9705, allocations: 11.94 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.9705, allocations: 4 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.9707, allocations: 64.16 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.9707, allocations: 0 / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.9707, allocations: 6.906 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.9708, allocations: 0.6562 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.9709, allocations: 55 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.9715, allocations: 316.4 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.9716, allocations: 50.09 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.9716, allocations: 0 / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.9718, allocations: 86.03 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/0.9718, allocations: 0 / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003396/0.9721, allocations: 149.6 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.9722, allocations: 51.41 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.9722, allocations: 117.1 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.9723, allocations: 29.7 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.9723, allocations: 92.23 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.9723, allocations: 19.08 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.9723, allocations: 8 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.9724, allocations: 318.1 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.9725, allocations: 27.28 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.94e-05/0.9726, allocations: 58.8 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.015e-05/0.9726, allocations: 36.56 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9727, allocations: 0 / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002069/0.9729, allocations: 112 kB / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.9729, allocations: 4 kB / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9729, allocations: 4.562 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.9729, allocations: 4.656 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.973, allocations: 11.42 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.973, allocations: 4 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/0.9731, allocations: 16.14 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.9731, allocations: 7.953 kB / 1.131 GB, free: 29.49 MB / 0.7292 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 6.409e-05/0.9732, allocations: 117.8 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.9732, allocations: 8 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.9733, allocations: 9.406 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.9733, allocations: 3.375 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.9733, allocations: 0 / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9733, allocations: 4 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.9736, allocations: 386.2 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.9737, allocations: 0.6875 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.9737, allocations: 11.52 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.9737, allocations: 0 / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.9737, allocations: 8 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.9737, allocations: 0.75 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.9737, allocations: 0 / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.974, allocations: 219 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.974, allocations: 81.05 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.974, allocations: 0 / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.9741, allocations: 11.52 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.9742, allocations: 9.234 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.9742, allocations: 4 kB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.211e-05/0.9742, allocations: 99.5 kB / 1.132 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.223e-06/0.9742, allocations: 1.031 kB / 1.132 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003047/0.9745, allocations: 51.94 kB / 1.132 GB, free: 28.46 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: 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.0006349/0.9752, allocations: 0.8168 MB / 1.133 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.9754, allocations: 79.14 kB / 1.133 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9754, allocations: 0 / 1.133 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.9755, allocations: 35.55 kB / 1.133 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.9757, allocations: 14.89 kB / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.9763, allocations: 0.7337 MB / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.989e-05/0.9764, allocations: 0.6878 MB / 1.135 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.9764, allocations: 8.906 kB / 1.135 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.9765, allocations: 19.44 kB / 1.135 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9765, allocations: 4 kB / 1.135 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.9922, allocations: 2.488 MB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.9924, allocations: 249.7 kB / 1.137 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.676, allocations: 5.406 kB / 1.137 GB, free: 24.46 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)