Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.736/1.736, allocations: 288.2 MB / 303.2 MB, free: 8.207 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.001092/0.001092, allocations: 181 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.814/1.814, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0008851/0.0008852, allocations: 99.64 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.000478, allocations: 15.09 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2222, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7457/0.9679, allocations: 140 MB / 1.116 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.9682, allocations: 86 kB / 1.116 GB, free: 16.42 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.008666/0.9769, allocations: 2.988 MB / 1.119 GB, free: 31.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9769, allocations: 0 / 1.119 GB, free: 31.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.9769, allocations: 0 / 1.119 GB, free: 31.97 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.0005764/0.9775, allocations: 435.6 kB / 1.12 GB, free: 31.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.9776, allocations: 7.719 kB / 1.12 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.9776, allocations: 41.75 kB / 1.12 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.9777, allocations: 3.906 kB / 1.12 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.9778, allocations: 174.3 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.9778, allocations: 0 / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.9778, allocations: 11.5 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.978, allocations: 69.83 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.978, allocations: 0 / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.9781, allocations: 6.188 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.9781, allocations: 0 / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.9782, allocations: 45.91 kB / 1.12 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.9788, allocations: 317.5 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.9789, allocations: 56.38 kB / 1.12 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.9789, allocations: 3.844 kB / 1.12 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.9791, allocations: 77.89 kB / 1.12 GB, free: 30.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.9791, allocations: 0 / 1.12 GB, free: 30.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003652/0.9795, allocations: 151.3 kB / 1.121 GB, free: 30.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.9796, allocations: 55.25 kB / 1.121 GB, free: 30.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.9796, allocations: 113.8 kB / 1.121 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.9797, allocations: 29.2 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.9797, allocations: 95.33 kB / 1.121 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.9798, allocations: 21.17 kB / 1.121 GB, free: 30.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-06/0.9798, allocations: 3.062 kB / 1.121 GB, free: 30.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9799, allocations: 316.7 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.609e-05/0.98, allocations: 31.09 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.144e-05/0.9801, allocations: 56.11 kB / 1.121 GB, free: 30.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.9802, allocations: 35.95 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9802, allocations: 0 / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002264/0.9804, allocations: 112.3 kB / 1.121 GB, free: 30.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.9805, allocations: 7.906 kB / 1.121 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.9805, allocations: 3.844 kB / 1.121 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.9805, allocations: 0 / 1.121 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.9806, allocations: 21.92 kB / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.9806, allocations: 3.812 kB / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.9807, allocations: 10.86 kB / 1.121 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.9807, allocations: 7.859 kB / 1.121 GB, free: 30.18 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.0001005/0.9808, allocations: 118.6 kB / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.9808, allocations: 6.938 kB / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.9809, allocations: 7.328 kB / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.9809, allocations: 3.906 kB / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9809, allocations: 0 / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9809, allocations: 0 / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.9813, allocations: 395.5 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.9813, allocations: 3.562 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.9814, allocations: 7.219 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.9814, allocations: 0 / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.9814, allocations: 0 / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9814, allocations: 3.844 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9814, allocations: 0 / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.9817, allocations: 224.7 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.9817, allocations: 84.92 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.9817, allocations: 3.375 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.9818, allocations: 6.719 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.9819, allocations: 6.984 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.9819, allocations: 0 / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.982, allocations: 104.9 kB / 1.122 GB, free: 29.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.982, allocations: 4 kB / 1.122 GB, free: 29.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003099/0.9823, allocations: 45.41 kB / 1.122 GB, free: 29.42 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.0007901/0.9831, allocations: 0.8204 MB / 1.123 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.9833, allocations: 74.23 kB / 1.123 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9833, allocations: 0 / 1.123 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.9834, allocations: 50.61 kB / 1.123 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.9836, allocations: 8 kB / 1.123 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.9843, allocations: 0.7306 MB / 1.124 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.9846, allocations: 0.7002 MB / 1.125 GB, free: 27.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.9846, allocations: 8.094 kB / 1.125 GB, free: 27.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.9847, allocations: 20.66 kB / 1.125 GB, free: 27.32 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.9847, allocations: 0 / 1.125 GB, free: 27.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.9993, allocations: 2.502 MB / 1.127 GB, free: 27.09 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.9996, allocations: 258.6 kB / 1.127 GB, free: 26.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.665, allocations: 2.812 kB / 1.127 GB, free: 26.75 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)