Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.386/1.386, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001728/0.001728, allocations: 181.6 kB / 326.5 MB, free: 2.258 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.251/2.251, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001014/0.001014, allocations: 92.69 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 12.53 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2733, allocations: 106.3 MB / 0.9002 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.4719, allocations: 133.7 MB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4723, allocations: 83.94 kB / 1.031 GB, free: 9.918 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.009295/0.4816, allocations: 2.986 MB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4816, allocations: 0 / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.4816, allocations: 0 / 1.034 GB, free: 6.926 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.0006613/0.4823, allocations: 436.7 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.4824, allocations: 15.97 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.336e-05/0.4824, allocations: 30.56 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.4825, allocations: 11.91 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.4827, allocations: 174.9 kB / 1.034 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.4828, allocations: 11.92 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.4828, allocations: 4 kB / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.483, allocations: 73.66 kB / 1.034 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4831, allocations: 3.938 kB / 1.034 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.4831, allocations: 4 kB / 1.034 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4831, allocations: 0 / 1.034 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.4833, allocations: 43.97 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000797/0.4841, allocations: 308.8 kB / 1.035 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.4843, allocations: 50.56 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.4843, allocations: 4.078 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.4845, allocations: 87.42 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/0.4845, allocations: 0 / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004737/0.485, allocations: 145.5 kB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.4851, allocations: 59.34 kB / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.4853, allocations: 113 kB / 1.035 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.4853, allocations: 29.7 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.4854, allocations: 84.33 kB / 1.035 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.4855, allocations: 23.78 kB / 1.035 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.4855, allocations: 3.938 kB / 1.035 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.4857, allocations: 316.8 kB / 1.036 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.764e-05/0.4858, allocations: 31.98 kB / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.4859, allocations: 54.55 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.486, allocations: 31.98 kB / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.4861, allocations: 0 / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003097/0.4864, allocations: 121.5 kB / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4864, allocations: 4 kB / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4864, allocations: 0 / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4864, allocations: 7.938 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.4865, allocations: 8 kB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.4866, allocations: 7.922 kB / 1.036 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.4867, allocations: 15.95 kB / 1.036 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4867, allocations: 8.047 kB / 1.036 GB, free: 4.406 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 0.0001308/0.4868, allocations: 117.8 kB / 1.036 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.4869, allocations: 3.906 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.4869, allocations: 16.36 kB / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4869, allocations: 0 / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4869, allocations: 0 / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4869, allocations: 0 / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.4874, allocations: 398.3 kB / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4875, allocations: 0 / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.4875, allocations: 4 kB / 1.036 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.4875, allocations: 0 / 1.036 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4875, allocations: 3.984 kB / 1.036 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4875, allocations: 0 / 1.036 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4876, allocations: 7.953 kB / 1.036 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.4878, allocations: 215.9 kB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.4879, allocations: 85.02 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.488, allocations: 3.984 kB / 1.037 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.488, allocations: 4 kB / 1.037 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.4881, allocations: 27.88 kB / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.4881, allocations: 0 / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.796e-05/0.4882, allocations: 95.27 kB / 1.037 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4882, allocations: 0 / 1.037 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003492/0.4886, allocations: 47.94 kB / 1.037 GB, free: 3.297 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.001191/0.4898, allocations: 0.8159 MB / 1.038 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.49, allocations: 83.95 kB / 1.038 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4901, allocations: 0 / 1.038 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.4902, allocations: 39.92 kB / 1.038 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.4904, allocations: 0 / 1.038 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009332/0.4913, allocations: 0.7323 MB / 1.039 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.4917, allocations: 0.6947 MB / 1.039 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.4917, allocations: 4.188 kB / 1.039 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.4918, allocations: 19.42 kB / 1.039 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.4918, allocations: 4 kB / 1.039 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.5047, allocations: 2.504 MB / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/0.505, allocations: 256.6 kB / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.094, allocations: 0 / 1.042 GB, free: 14.16 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)