Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 189.5 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 0.5775 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 91.92 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 8.656 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2722, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.458, allocations: 133.7 MB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.4583, allocations: 87.94 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.009392/0.4677, allocations: 2.982 MB / 1.034 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4678, allocations: 4 kB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.4678, allocations: 4 kB / 1.034 GB, free: 7.215 MB / 0.6823 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.0006304/0.4684, allocations: 420.7 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.4685, allocations: 8.031 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.278e-05/0.4686, allocations: 42.55 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.4686, allocations: 7.906 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.4687, allocations: 178.8 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.4688, allocations: 8 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.4688, allocations: 8 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.469, allocations: 77.56 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.469, allocations: 0 / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4691, allocations: 3.984 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4691, allocations: 4 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.4692, allocations: 39.98 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.4699, allocations: 316.8 kB / 1.035 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.47, allocations: 58.5 kB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.4701, allocations: 0 / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.4702, allocations: 75.5 kB / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.4703, allocations: 0 / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004247/0.4707, allocations: 153.6 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.4708, allocations: 59.36 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.4709, allocations: 112.9 kB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.4709, allocations: 33.62 kB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.471, allocations: 88.33 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.471, allocations: 11.81 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.471, allocations: 4 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.4711, allocations: 322.8 kB / 1.036 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.341e-05/0.4712, allocations: 27.98 kB / 1.036 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.4713, allocations: 54.48 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.909e-05/0.4714, allocations: 33.84 kB / 1.036 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4714, allocations: 0 / 1.036 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002335/0.4716, allocations: 121.5 kB / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4717, allocations: 8 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4717, allocations: 3.938 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.4717, allocations: 0 / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.4718, allocations: 24.05 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4718, allocations: 3.938 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.4719, allocations: 11.94 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.4719, allocations: 8 kB / 1.036 GB, free: 4.691 MB / 0.6823 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 8.933e-05/0.472, allocations: 113.8 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.472, allocations: 7.906 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.4721, allocations: 8.375 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4721, allocations: 8 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4721, allocations: 0 / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.4721, allocations: 3.984 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.4725, allocations: 382.4 kB / 1.036 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.4726, allocations: 3.984 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.4726, allocations: 4 kB / 1.036 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4726, allocations: 8 kB / 1.036 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4726, allocations: 0 / 1.036 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4726, allocations: 0 / 1.036 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4726, allocations: 3.953 kB / 1.036 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.4729, allocations: 215.9 kB / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.473, allocations: 88.95 kB / 1.037 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.473, allocations: 4 kB / 1.037 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.4731, allocations: 7.984 kB / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.4731, allocations: 7.953 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.4732, allocations: 7.984 kB / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.4732, allocations: 87.28 kB / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4732, allocations: 0 / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003358/0.4736, allocations: 55.92 kB / 1.037 GB, free: 3.594 MB / 0.6823 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.0007677/0.4743, allocations: 0.8236 MB / 1.038 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.4746, allocations: 75.89 kB / 1.038 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4746, allocations: 0 / 1.038 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.695e-05/0.4747, allocations: 43.91 kB / 1.038 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.4749, allocations: 6.359 kB / 1.038 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.4756, allocations: 0.7322 MB / 1.039 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.4759, allocations: 0.6887 MB / 1.039 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.4759, allocations: 4.188 kB / 1.039 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.476, allocations: 23.42 kB / 1.039 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.476, allocations: 0 / 1.039 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.4889, allocations: 2.503 MB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.4892, allocations: 255 kB / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.127, allocations: 0 / 1.042 GB, free: 14.44 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)