Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001176, allocations: 181.2 kB / 371.6 MB, free: 3.41 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.967/1.967, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 89.64 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.385e-05/4.408e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3286, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9951/1.324, allocations: 140.9 MB / 1.117 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/1.324, allocations: 80.78 kB / 1.118 GB, free: 43.15 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008153/1.332, allocations: 2.966 MB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.655e-06/1.332, allocations: 3.375 kB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.225e-06/1.332, allocations: 4 kB / 1.12 GB, free: 41.44 MB / 0.7448 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.0004261/1.333, allocations: 414.7 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.333, allocations: 19.97 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/1.333, allocations: 34.73 kB / 1.121 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/1.333, allocations: 10.41 kB / 1.121 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/1.333, allocations: 169.5 kB / 1.121 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/1.333, allocations: 4.562 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/1.333, allocations: 4 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/1.333, allocations: 57.59 kB / 1.121 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.333, allocations: 0 / 1.121 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.333, allocations: 6.75 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.333, allocations: 1.453 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.089e-05/1.333, allocations: 26.81 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/1.334, allocations: 319.3 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.75e-05/1.334, allocations: 40.64 kB / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/1.334, allocations: 31.27 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/1.334, allocations: 0 / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/1.334, allocations: 72.77 kB / 1.122 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/1.334, allocations: 0 / 1.122 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002214/1.334, allocations: 94.12 kB / 1.122 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/1.334, allocations: 55.36 kB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/1.334, allocations: 117.8 kB / 1.122 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/1.334, allocations: 33.03 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/1.335, allocations: 94.81 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/1.335, allocations: 22.98 kB / 1.122 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/1.335, allocations: 0 / 1.122 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/1.335, allocations: 317.7 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/1.335, allocations: 18.31 kB / 1.122 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.944e-05/1.335, allocations: 42.92 kB / 1.122 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/1.335, allocations: 30.58 kB / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.335, allocations: 0 / 1.122 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001507/1.335, allocations: 98.42 kB / 1.123 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.335, allocations: 8 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.335, allocations: 1.281 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.335, allocations: 0 / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/1.335, allocations: 11.47 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.335, allocations: 4 kB / 1.123 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/1.335, allocations: 15.52 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/1.335, allocations: 4 kB / 1.123 GB, free: 39.34 MB / 0.7448 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 7.906e-05/1.335, allocations: 118.1 kB / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/1.335, allocations: 5.312 kB / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/1.335, allocations: 12 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.335, allocations: 0 / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.335, allocations: 0.625 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.335, allocations: 0 / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/1.336, allocations: 371.2 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.336, allocations: 0.6562 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/1.336, allocations: 11.83 kB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.336, allocations: 1.172 kB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/1.336, allocations: 0 / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.336, allocations: 3.938 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.336, allocations: 4.578 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/1.336, allocations: 201.7 kB / 1.123 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/1.336, allocations: 82.33 kB / 1.123 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/1.336, allocations: 6.781 kB / 1.123 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/1.336, allocations: 4 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/1.336, allocations: 7.328 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/1.336, allocations: 4.703 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.122e-05/1.336, allocations: 98.78 kB / 1.123 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.336, allocations: 0 / 1.123 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003212/1.337, allocations: 50.69 kB / 1.123 GB, free: 38.41 MB / 0.7448 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.000743/1.337, allocations: 0.7973 MB / 1.124 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001657/1.338, allocations: 60.64 kB / 1.124 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.338, allocations: 0 / 1.124 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.377e-05/1.338, allocations: 32.39 kB / 1.124 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/1.338, allocations: 5.531 kB / 1.124 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/1.338, allocations: 155.6 kB / 1.125 GB, free: 37.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/1.339, allocations: 0.6947 MB / 1.125 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.211e-05/1.339, allocations: 8.266 kB / 1.125 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/1.339, allocations: 22.52 kB / 1.125 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.339, allocations: 0 / 1.125 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/1.353, allocations: 2.512 MB / 1.128 GB, free: 35.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.353, allocations: 208.2 kB / 1.128 GB, free: 35.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/3.032, allocations: 3.938 kB / 1.128 GB, free: 35.1 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)