Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.737/2.737, allocations: 287.3 MB / 302.3 MB, free: 8.387 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.001491/0.001491, allocations: 187.5 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.238/2.238, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001157/0.001157, allocations: 100.9 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007462/0.0007464, allocations: 14.95 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2548, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9534/1.208, allocations: 139.8 MB / 1.115 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/1.209, allocations: 84 kB / 1.115 GB, free: 15.77 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01446/1.223, allocations: 2.99 MB / 1.118 GB, free: 31.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/1.223, allocations: 0 / 1.118 GB, free: 31.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.223, allocations: 3.844 kB / 1.118 GB, free: 31.32 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.0007588/1.224, allocations: 430.6 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.224, allocations: 15.55 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.141e-05/1.224, allocations: 33.47 kB / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/1.224, allocations: 11.66 kB / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/1.224, allocations: 176.5 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/1.224, allocations: 3.844 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/1.224, allocations: 3.812 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/1.225, allocations: 71.94 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/1.225, allocations: 0 / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/1.225, allocations: 4 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/1.225, allocations: 0 / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/1.225, allocations: 43.7 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/1.226, allocations: 320.5 kB / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/1.226, allocations: 59.19 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/1.226, allocations: 0 / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/1.226, allocations: 77.64 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/1.226, allocations: 0 / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005979/1.227, allocations: 142.4 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/1.227, allocations: 66.05 kB / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/1.227, allocations: 106.7 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/1.227, allocations: 37.45 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/1.227, allocations: 94.89 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/1.227, allocations: 19.53 kB / 1.119 GB, free: 29.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/1.227, allocations: 0 / 1.119 GB, free: 29.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.227, allocations: 321.3 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/1.228, allocations: 28.14 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/1.228, allocations: 55.3 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/1.228, allocations: 30.03 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.228, allocations: 3.812 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003823/1.228, allocations: 114.1 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.228, allocations: 9.719 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.914e-06/1.228, allocations: 0 / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.228, allocations: 0 / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/1.229, allocations: 18.55 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/1.229, allocations: 0 / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/1.229, allocations: 22.19 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/1.229, allocations: 3.844 kB / 1.12 GB, free: 29.53 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.0001554/1.229, allocations: 117.8 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/1.229, allocations: 7.047 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/1.229, allocations: 12.09 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.229, allocations: 3.984 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.229, allocations: 0 / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/1.229, allocations: 0 / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007043/1.23, allocations: 393.6 kB / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.23, allocations: 0 / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/1.23, allocations: 6.656 kB / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/1.23, allocations: 3.844 kB / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/1.23, allocations: 0 / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/1.23, allocations: 1.359 kB / 1.121 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.23, allocations: 3.953 kB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/1.23, allocations: 229.5 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/1.23, allocations: 81.05 kB / 1.121 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/1.23, allocations: 1.172 kB / 1.121 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/1.231, allocations: 9.312 kB / 1.121 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/1.231, allocations: 6.672 kB / 1.121 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/1.231, allocations: 7.719 kB / 1.121 GB, free: 28.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.235e-05/1.231, allocations: 93.98 kB / 1.121 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.231, allocations: 0 / 1.121 GB, free: 28.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004392/1.231, allocations: 52.59 kB / 1.121 GB, free: 28.76 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.001169/1.232, allocations: 0.8156 MB / 1.122 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000367/1.233, allocations: 75.12 kB / 1.122 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.233, allocations: 4.125 kB / 1.122 GB, free: 28.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/1.233, allocations: 40.58 kB / 1.122 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/1.233, allocations: 5.469 kB / 1.122 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/1.234, allocations: 0.731 MB / 1.123 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/1.235, allocations: 0.6883 MB / 1.123 GB, free: 26.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.687e-05/1.235, allocations: 8.031 kB / 1.123 GB, free: 26.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/1.235, allocations: 20.55 kB / 1.123 GB, free: 26.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.415e-06/1.235, allocations: 0 / 1.123 GB, free: 26.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/1.262, allocations: 2.499 MB / 1.126 GB, free: 26.44 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/1.262, allocations: 236 kB / 1.126 GB, free: 26.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.909, allocations: 0 / 1.126 GB, free: 26.2 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)