Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 249.5 MB / 257 MB, free: 6.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 176.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 95.31 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.817e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2016, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7594/0.961, allocations: 133.9 MB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.9612, allocations: 79.89 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.008768/0.97, allocations: 2.955 MB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9701, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.9701, allocations: 7.938 kB / 1.019 GB, free: 0.8945 MB / 0.6355 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.0005122/0.9706, allocations: 406 kB / 1.019 GB, free: 464 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.9707, allocations: 19.97 kB / 1.019 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.9707, allocations: 4 kB / 1.019 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.9708, allocations: 178.9 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.9709, allocations: 0 / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.9709, allocations: 4 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.817e-05/0.971, allocations: 21.56 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.9711, allocations: 51.94 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.9711, allocations: 0 / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.9711, allocations: 4 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.9711, allocations: 0 / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.9717, allocations: 299.7 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.255e-05/0.9718, allocations: 33.33 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.9719, allocations: 31.53 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.9719, allocations: 4 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.9721, allocations: 68.64 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.9721, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002683/0.9723, allocations: 92.06 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.9724, allocations: 62.67 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.167e-05/0.9725, allocations: 110.7 kB / 1.02 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.9725, allocations: 25.7 kB / 1.02 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.9726, allocations: 102.1 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.9726, allocations: 10.47 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.9726, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9727, allocations: 325.6 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.515e-05/0.9728, allocations: 14.88 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.9728, allocations: 45.56 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.727e-05/0.9729, allocations: 15.19 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9729, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001517/0.9731, allocations: 96.14 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.9731, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.9731, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.9731, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.9732, allocations: 14.05 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.9733, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.9733, allocations: 7.906 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.9734, allocations: 15.98 kB / 1.021 GB, free: 14.78 MB / 0.6511 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 () * 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 8.259e-05/0.9734, allocations: 111.2 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001505/0.9736, allocations: 95.91 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.9736, allocations: 3.906 kB / 1.021 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.9737, allocations: 12.25 kB / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.9737, allocations: 3.938 kB / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.9737, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.9737, allocations: 7.938 kB / 1.021 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.974, allocations: 340.4 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.974, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.9741, allocations: 4 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9741, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.9741, allocations: 3.984 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.9741, allocations: 4 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9741, allocations: 3.953 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.9744, allocations: 201.7 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.9744, allocations: 81.02 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.9744, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.9745, allocations: 7.984 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.9746, allocations: 11.58 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.9746, allocations: 7.984 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.9746, allocations: 88.39 kB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9746, allocations: 3.938 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003162/0.975, allocations: 51.61 kB / 1.022 GB, free: 13.75 MB / 0.6511 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 () * 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.0007043/0.9757, allocations: 0.7888 MB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.9758, allocations: 58.11 kB / 1.023 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.9758, allocations: 0 / 1.023 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.9759, allocations: 31.17 kB / 1.023 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.9761, allocations: 7.984 kB / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.9766, allocations: 145.1 kB / 1.023 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.9768, allocations: 0.6924 MB / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.095e-05/0.9769, allocations: 8.312 kB / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.9769, allocations: 26.05 kB / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9769, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.9968, allocations: 2.187 MB / 1.026 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/0.9971, allocations: 202.2 kB / 1.026 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.523, allocations: 4 kB / 1.026 GB, free: 9.543 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)