Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.753/1.753, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001044/0.001044, allocations: 174.2 kB / 371.8 MB, free: 10.27 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.738/1.738, 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.0009268/0.0009268, allocations: 89.58 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 11.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2328, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7922/1.025, allocations: 140 MB / 1.116 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.025, allocations: 82.44 kB / 1.116 GB, free: 16.04 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.009245/1.035, allocations: 2.993 MB / 1.119 GB, free: 31.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/1.035, allocations: 0 / 1.119 GB, free: 31.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.035, allocations: 0 / 1.119 GB, free: 31.58 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.0006376/1.035, allocations: 435.8 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.035, allocations: 11.7 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/1.035, allocations: 37.34 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/1.036, allocations: 7.906 kB / 1.12 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/1.036, allocations: 170 kB / 1.12 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/1.036, allocations: 10.78 kB / 1.12 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/1.036, allocations: 3.875 kB / 1.12 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/1.036, allocations: 66.91 kB / 1.12 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.036, allocations: 0 / 1.12 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.036, allocations: 3.75 kB / 1.12 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.036, allocations: 0 / 1.12 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/1.036, allocations: 49.2 kB / 1.12 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/1.037, allocations: 317.9 kB / 1.12 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/1.037, allocations: 56.7 kB / 1.12 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/1.037, allocations: 3.844 kB / 1.12 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/1.037, allocations: 75.81 kB / 1.12 GB, free: 30.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/1.037, allocations: 0 / 1.12 GB, free: 30.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004228/1.038, allocations: 152.4 kB / 1.121 GB, free: 30.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/1.038, allocations: 55.28 kB / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/1.038, allocations: 111.6 kB / 1.121 GB, free: 30.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/1.038, allocations: 32.45 kB / 1.121 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/1.038, allocations: 99.19 kB / 1.121 GB, free: 30.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/1.038, allocations: 19.22 kB / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/1.038, allocations: 0 / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.038, allocations: 317.5 kB / 1.121 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/1.038, allocations: 32.41 kB / 1.121 GB, free: 29.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/1.038, allocations: 55.2 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/1.038, allocations: 37.39 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.038, allocations: 0 / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002316/1.039, allocations: 120.3 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.039, allocations: 7.906 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.039, allocations: 3.844 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.039, allocations: 0 / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/1.039, allocations: 17.62 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/1.039, allocations: 320 / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.533e-05/1.039, allocations: 7.719 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/1.039, allocations: 7.828 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.000103/1.039, allocations: 131.2 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/1.039, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/1.039, allocations: 11.69 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.039, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.039, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.039, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/1.039, allocations: 394.7 kB / 1.122 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.04, allocations: 8.062 kB / 1.122 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/1.04, allocations: 10.41 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.04, allocations: 3.922 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/1.04, allocations: 3.984 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.04, allocations: 0 / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.04, allocations: 2.297 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/1.04, allocations: 220.5 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/1.04, allocations: 80.98 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/1.04, allocations: 0 / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/1.04, allocations: 6.922 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/1.04, allocations: 3.844 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/1.04, allocations: 6.984 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.251e-05/1.04, allocations: 102 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.04, allocations: 4 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003343/1.041, allocations: 49.03 kB / 1.122 GB, free: 29.01 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.0008781/1.041, allocations: 0.8157 MB / 1.123 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00025/1.042, allocations: 78.14 kB / 1.123 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.042, allocations: 0 / 1.123 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.144e-05/1.042, allocations: 43.72 kB / 1.123 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/1.042, allocations: 0.5156 kB / 1.123 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009072/1.043, allocations: 0.8876 MB / 1.124 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/1.043, allocations: 0.6934 MB / 1.125 GB, free: 26.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.264e-05/1.043, allocations: 4.188 kB / 1.125 GB, free: 26.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/1.043, allocations: 20.61 kB / 1.125 GB, free: 26.77 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/1.043, allocations: 0 / 1.125 GB, free: 26.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/1.059, allocations: 2.514 MB / 1.127 GB, free: 26.52 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.059, allocations: 249.8 kB / 1.128 GB, free: 26.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.705, allocations: 4 kB / 1.128 GB, free: 26.27 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)