Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 288.2 MB / 303.2 MB, free: 8.238 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.001161/0.001161, allocations: 184 kB / 371.8 MB, free: 10.3 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.719/1.719, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008875/0.0008881, allocations: 101.1 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005714/0.0005714, allocations: 20.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2984, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9658/1.264, allocations: 140 MB / 1.116 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.265, allocations: 86.88 kB / 1.116 GB, free: 16.3 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.01126/1.276, allocations: 2.985 MB / 1.119 GB, free: 31.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/1.276, allocations: 0 / 1.119 GB, free: 31.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.338e-06/1.276, allocations: 0 / 1.119 GB, free: 31.86 MB / 0.698 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.0006433/1.277, allocations: 436.5 kB / 1.12 GB, free: 31.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.277, allocations: 13.84 kB / 1.12 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.103e-05/1.277, allocations: 34.5 kB / 1.12 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/1.277, allocations: 7.219 kB / 1.12 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/1.277, allocations: 174 kB / 1.12 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/1.277, allocations: 0 / 1.12 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/1.277, allocations: 3.969 kB / 1.12 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/1.277, allocations: 71.47 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/1.277, allocations: 3.969 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/1.277, allocations: 0 / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.277, allocations: 4 kB / 1.12 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/1.278, allocations: 45.75 kB / 1.12 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/1.278, allocations: 324.2 kB / 1.12 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/1.278, allocations: 52.7 kB / 1.12 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/1.278, allocations: 3.75 kB / 1.12 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/1.279, allocations: 76.12 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/1.279, allocations: 4 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004953/1.279, allocations: 147.7 kB / 1.121 GB, free: 30.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/1.279, allocations: 59.12 kB / 1.121 GB, free: 30.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/1.279, allocations: 119.2 kB / 1.121 GB, free: 30.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/1.279, allocations: 25.7 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/1.279, allocations: 98.8 kB / 1.121 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/1.28, allocations: 25.41 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/1.28, allocations: 0 / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.28, allocations: 314.3 kB / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/1.28, allocations: 31.39 kB / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/1.28, allocations: 56.44 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/1.28, allocations: 31.34 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.28, allocations: 0 / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000292/1.28, allocations: 120.5 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.28, allocations: 3.844 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.28, allocations: 3.844 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.28, allocations: 0 / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/1.281, allocations: 14.95 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.281, allocations: 3.844 kB / 1.121 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/1.281, allocations: 11.73 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/1.281, allocations: 7.797 kB / 1.121 GB, free: 30.07 MB / 0.698 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.000126/1.281, allocations: 123.1 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/1.281, allocations: 3.875 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/1.281, allocations: 7.938 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.281, allocations: 3.875 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.281, allocations: 0 / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.281, allocations: 0 / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/1.281, allocations: 394.3 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.281, allocations: 0 / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/1.282, allocations: 3.844 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/1.282, allocations: 0 / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/1.282, allocations: 5.844 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.282, allocations: 3.812 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/1.282, allocations: 0 / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/1.282, allocations: 223.4 kB / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/1.282, allocations: 84.64 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/1.282, allocations: 3.25 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/1.282, allocations: 3.875 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/1.282, allocations: 7.25 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/1.282, allocations: 3.656 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.195e-05/1.282, allocations: 105.5 kB / 1.122 GB, free: 29.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.282, allocations: 0 / 1.122 GB, free: 29.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005004/1.283, allocations: 49.36 kB / 1.122 GB, free: 29.3 MB / 0.698 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.0009996/1.284, allocations: 0.8204 MB / 1.123 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002763/1.284, allocations: 77.89 kB / 1.123 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.284, allocations: 0 / 1.123 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/1.284, allocations: 45.84 kB / 1.123 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/1.285, allocations: 5.812 kB / 1.123 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009367/1.286, allocations: 0.7238 MB / 1.124 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/1.286, allocations: 0.6891 MB / 1.125 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.989e-05/1.286, allocations: 10.81 kB / 1.125 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/1.286, allocations: 18.56 kB / 1.125 GB, free: 27.22 MB / 0.698 GB Notification: Performance of SimCode: time 1.733e-06/1.286, allocations: 0 / 1.125 GB, free: 27.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/1.303, allocations: 2.501 MB / 1.127 GB, free: 26.98 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/1.303, allocations: 252.9 kB / 1.127 GB, free: 26.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.975, allocations: 0 / 1.127 GB, free: 26.7 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)