Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.443/2.443, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.001568/0.001567, allocations: 176.9 kB / 360.6 MB, free: 7.277 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.103/2.103, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001144/0.001143, allocations: 93.73 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.591e-05, allocations: 4 kB / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8647, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2432/1.108, allocations: 139.1 MB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/1.108, allocations: 79.95 kB / 1.099 GB, free: 1.262 MB / 0.698 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.01388/1.122, allocations: 2.96 MB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/1.122, allocations: 0 / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.595e-06/1.122, allocations: 0 / 1.102 GB, free: 14.36 MB / 0.7136 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.0006895/1.123, allocations: 422.8 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.123, allocations: 12.69 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/1.123, allocations: 7.906 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/1.123, allocations: 168.1 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/1.123, allocations: 4 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/1.123, allocations: 8.484 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001077/1.123, allocations: 20.62 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/1.124, allocations: 54.92 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.124, allocations: 3.188 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/1.124, allocations: 0 / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.124, allocations: 8.688 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/1.125, allocations: 288.4 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/1.125, allocations: 35.64 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/1.125, allocations: 24.98 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/1.125, allocations: 5.25 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/1.125, allocations: 72.17 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 4.428e-06/1.125, allocations: 0 / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003456/1.125, allocations: 95.95 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/1.125, allocations: 59.39 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.126, allocations: 109.8 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/1.126, allocations: 25.7 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/1.126, allocations: 95.69 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/1.126, allocations: 15.75 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/1.126, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.126, allocations: 326.8 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/1.126, allocations: 16 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.5e-05/1.126, allocations: 40.48 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.836e-05/1.126, allocations: 27.19 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.126, allocations: 0 / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/1.126, allocations: 93.5 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.126, allocations: 9.094 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.126, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.126, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/1.127, allocations: 23.98 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.127, allocations: 0 / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/1.127, allocations: 4 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/1.127, allocations: 4 kB / 1.104 GB, free: 12.12 MB / 0.7136 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 0.0001525/1.127, allocations: 121.8 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002562/1.127, allocations: 97.52 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/1.127, allocations: 0 / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/1.127, allocations: 12.62 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.127, allocations: 5.078 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.127, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.127, allocations: 3.953 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/1.128, allocations: 335 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/1.128, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/1.128, allocations: 8 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.128, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/1.128, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.128, allocations: 3.094 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/1.128, allocations: 17.62 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/1.128, allocations: 183.5 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/1.129, allocations: 88.95 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/1.129, allocations: 0 / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/1.129, allocations: 7.984 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/1.129, allocations: 11.94 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/1.129, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.207e-05/1.129, allocations: 96.47 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.71e-07/1.129, allocations: 0 / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004532/1.129, allocations: 51.94 kB / 1.105 GB, free: 11.02 MB / 0.7136 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.001009/1.13, allocations: 0.8005 MB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000221/1.131, allocations: 55.92 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.131, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/1.131, allocations: 24 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/1.131, allocations: 2.062 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/1.132, allocations: 148.6 kB / 1.106 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/1.132, allocations: 0.6924 MB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.518e-05/1.132, allocations: 9.422 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/1.132, allocations: 19.44 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/1.132, allocations: 0 / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/1.171, allocations: 2.187 MB / 1.109 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/1.171, allocations: 188.4 kB / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/3.664, allocations: 4.031 kB / 1.109 GB, free: 6.875 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)