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.912/1.912, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001305/0.001305, allocations: 176.8 kB / 366.7 MB, free: 1.652 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.814/1.814, allocations: 205.3 MB / 0.626 GB, free: 7.195 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.0008815/0.0008815, allocations: 94.95 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.135e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7408/0.7408, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2142/0.9551, allocations: 140.2 MB / 1.11 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/0.9556, allocations: 79.95 kB / 1.11 GB, free: 9.852 MB / 0.7136 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.009806/0.9654, allocations: 2.951 MB / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9655, allocations: 0 / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.9655, allocations: 0 / 1.113 GB, free: 6.926 MB / 0.7136 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.0006651/0.9662, allocations: 421.3 kB / 1.114 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.9662, allocations: 9.625 kB / 1.114 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.9663, allocations: 14.7 kB / 1.114 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.9665, allocations: 171 kB / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.9665, allocations: 4 kB / 1.114 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.9665, allocations: 0 / 1.114 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.192e-05/0.9666, allocations: 21.12 kB / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.9668, allocations: 60.09 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.9668, allocations: 0 / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.9668, allocations: 1.312 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.9668, allocations: 0 / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006963/0.9675, allocations: 291.3 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.9676, allocations: 45.5 kB / 1.114 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.9677, allocations: 24.98 kB / 1.114 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.9677, allocations: 0 / 1.114 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.9679, allocations: 75.36 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.9679, allocations: 1 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002985/0.9682, allocations: 89.67 kB / 1.114 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.9683, allocations: 54.66 kB / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.9684, allocations: 126.7 kB / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.9684, allocations: 29.7 kB / 1.115 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.9685, allocations: 85.2 kB / 1.115 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.9685, allocations: 23.73 kB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.9685, allocations: 1.406 kB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.9687, allocations: 318.8 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.9687, allocations: 16 kB / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.9688, allocations: 39.81 kB / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.638e-05/0.9689, allocations: 27.98 kB / 1.115 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9689, allocations: 0 / 1.115 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001741/0.9691, allocations: 89.52 kB / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.9691, allocations: 4 kB / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.9691, allocations: 4 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.9691, allocations: 0 / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.9693, allocations: 14.98 kB / 1.115 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.9693, allocations: 4 kB / 1.115 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.9694, allocations: 12.05 kB / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.9694, allocations: 8 kB / 1.115 GB, free: 4.691 MB / 0.7136 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 () * 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.0001316/0.9695, allocations: 108.9 kB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001761/0.9697, allocations: 95.53 kB / 1.115 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.9697, allocations: 4 kB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.9698, allocations: 10.88 kB / 1.115 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.9698, allocations: 4 kB / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9698, allocations: 4 kB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9698, allocations: 3.984 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.9702, allocations: 338.9 kB / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9702, allocations: 0 / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.9703, allocations: 7.984 kB / 1.116 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.9703, allocations: 0 / 1.116 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.9703, allocations: 4 kB / 1.116 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.9703, allocations: 0 / 1.116 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9703, allocations: 3.938 kB / 1.116 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.9705, allocations: 191.5 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.9706, allocations: 92.94 kB / 1.116 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.9706, allocations: 3.984 kB / 1.116 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.9707, allocations: 4 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.9708, allocations: 7.984 kB / 1.116 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.9708, allocations: 5.312 kB / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.9709, allocations: 91.23 kB / 1.116 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9709, allocations: 4 kB / 1.116 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003085/0.9712, allocations: 47.92 kB / 1.116 GB, free: 3.598 MB / 0.7136 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 () * 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.0008517/0.972, allocations: 0.7955 MB / 1.117 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.9722, allocations: 51.92 kB / 1.117 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9722, allocations: 0 / 1.117 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.9723, allocations: 27.94 kB / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.9725, allocations: 12.05 kB / 1.117 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.973, allocations: 146.1 kB / 1.117 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.9734, allocations: 0.6972 MB / 1.118 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.305e-05/0.9735, allocations: 5.438 kB / 1.118 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.9735, allocations: 19.42 kB / 1.118 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9735, allocations: 0 / 1.118 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.9967, allocations: 2.188 MB / 1.12 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.997, allocations: 188.9 kB / 1.12 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.597, allocations: 32 / 1.12 GB, free: 15.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)