Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.776/1.776, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001175/0.001175, allocations: 177.1 kB / 371.8 MB, free: 10.29 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.679/1.679, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0008865/0.0008864, allocations: 98.53 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004571, allocations: 12.03 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2721, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.861/1.133, allocations: 140.3 MB / 1.117 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.134, allocations: 85.94 kB / 1.117 GB, free: 16.24 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.01205/1.146, allocations: 3.614 MB / 1.12 GB, free: 31.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.146, allocations: 0 / 1.12 GB, free: 31.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.301e-05/1.146, allocations: 3.875 kB / 1.12 GB, free: 31.74 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008942/1.147, allocations: 491.9 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.147, allocations: 7.656 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.482e-05/1.147, allocations: 34.44 kB / 1.121 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/1.147, allocations: 11.34 kB / 1.121 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/1.147, allocations: 190.7 kB / 1.121 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/1.147, allocations: 3.969 kB / 1.121 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/1.147, allocations: 7.594 kB / 1.121 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/1.147, allocations: 99.47 kB / 1.121 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/1.147, allocations: 0 / 1.121 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/1.147, allocations: 0 / 1.121 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.147, allocations: 0 / 1.121 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/1.148, allocations: 72.12 kB / 1.121 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/1.149, allocations: 395.9 kB / 1.121 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/1.149, allocations: 67.23 kB / 1.121 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/1.149, allocations: 0 / 1.121 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/1.149, allocations: 118.7 kB / 1.122 GB, free: 30.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.825e-06/1.149, allocations: 0 / 1.122 GB, free: 30.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0006358/1.15, allocations: 227.3 kB / 1.122 GB, free: 30.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/1.15, allocations: 58.92 kB / 1.122 GB, free: 30.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/1.15, allocations: 129.6 kB / 1.122 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/1.15, allocations: 29.64 kB / 1.122 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/1.15, allocations: 99.03 kB / 1.122 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/1.15, allocations: 15.47 kB / 1.122 GB, free: 30.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/1.15, allocations: 7.812 kB / 1.122 GB, free: 30.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.151, allocations: 321.6 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/1.151, allocations: 47.58 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/1.151, allocations: 79.03 kB / 1.123 GB, free: 29.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/1.151, allocations: 51.09 kB / 1.123 GB, free: 29.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.151, allocations: 8.156 kB / 1.123 GB, free: 29.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004055/1.152, allocations: 167 kB / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/1.152, allocations: 3.781 kB / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.152, allocations: 0 / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/1.152, allocations: 7.75 kB / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/1.152, allocations: 25.53 kB / 1.123 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.152, allocations: 4.094 kB / 1.123 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/1.152, allocations: 14.95 kB / 1.123 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/1.152, allocations: 7.594 kB / 1.123 GB, free: 29.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000163/1.152, allocations: 121.4 kB / 1.123 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/1.152, allocations: 7.75 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/1.152, allocations: 15.19 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.152, allocations: 0 / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.152, allocations: 12 kB / 1.123 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.152, allocations: 3.781 kB / 1.123 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/1.153, allocations: 470.9 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.153, allocations: 0 / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/1.153, allocations: 14.8 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/1.153, allocations: 7.281 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/1.153, allocations: 7.875 kB / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.153, allocations: 0 / 1.123 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.153, allocations: 3.953 kB / 1.123 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/1.154, allocations: 277.2 kB / 1.124 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/1.154, allocations: 84.89 kB / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/1.154, allocations: 0 / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/1.154, allocations: 14.39 kB / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/1.154, allocations: 10.3 kB / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/1.154, allocations: 6.766 kB / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.3e-05/1.154, allocations: 108.2 kB / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.154, allocations: 3.938 kB / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004467/1.154, allocations: 53.02 kB / 1.124 GB, free: 29.07 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001332/1.156, allocations: 0.8853 MB / 1.125 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003508/1.156, allocations: 128.5 kB / 1.125 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.156, allocations: 0 / 1.125 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/1.156, allocations: 53.73 kB / 1.125 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/1.157, allocations: 13.59 kB / 1.125 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/1.158, allocations: 1.098 MB / 1.126 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/1.158, allocations: 0.7059 MB / 1.127 GB, free: 26.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.318e-05/1.158, allocations: 3.812 kB / 1.127 GB, free: 26.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/1.158, allocations: 33.31 kB / 1.127 GB, free: 26.64 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/1.158, allocations: 0 / 1.127 GB, free: 26.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/1.174, allocations: 3.18 MB / 1.13 GB, free: 26.36 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/1.174, allocations: 247.6 kB / 1.13 GB, free: 26.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.939, allocations: 0 / 1.13 GB, free: 26.03 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)