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.762/1.762, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001188/0.001188, allocations: 185 kB / 377.1 MB, free: 1.543 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.875/1.875, allocations: 205.4 MB / 0.6366 GB, free: 8.652 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.0009194/0.0009194, allocations: 95.02 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 116.3 MB / 0.9884 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8268/1.111, allocations: 141 MB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.111, allocations: 86.58 kB / 1.126 GB, free: 34.1 MB / 0.7292 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.008401/1.12, allocations: 2.986 MB / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.202e-06/1.12, allocations: 3.938 kB / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.882e-06/1.12, allocations: 4 kB / 1.129 GB, free: 31.94 MB / 0.7292 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.0004776/1.12, allocations: 432.7 kB / 1.13 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.12, allocations: 12.02 kB / 1.13 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/1.12, allocations: 39 kB / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/1.12, allocations: 6.062 kB / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.775e-05/1.12, allocations: 170.7 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/1.12, allocations: 11.94 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/1.121, allocations: 4 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/1.121, allocations: 64.44 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/1.121, allocations: 4 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/1.121, allocations: 4.75 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.121, allocations: 4 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/1.121, allocations: 43.7 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/1.121, allocations: 325 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/1.122, allocations: 46.05 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/1.122, allocations: 0 / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/1.122, allocations: 87.03 kB / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/1.122, allocations: 0 / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003526/1.122, allocations: 147.7 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/1.122, allocations: 55.41 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/1.122, allocations: 121.4 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/1.122, allocations: 25.7 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/1.122, allocations: 96.23 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/1.122, allocations: 15.36 kB / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/1.122, allocations: 8 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.813e-05/1.122, allocations: 310.8 kB / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/1.122, allocations: 31.03 kB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/1.123, allocations: 62.5 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.873e-05/1.123, allocations: 29.02 kB / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.123, allocations: 0 / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002021/1.123, allocations: 119.6 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.123, allocations: 8 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.123, allocations: 0 / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.123, allocations: 0.5625 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/1.123, allocations: 15.42 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.123, allocations: 0.8594 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.536e-05/1.123, allocations: 11.91 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/1.123, allocations: 12.7 kB / 1.131 GB, free: 29.59 MB / 0.7292 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 6.51e-05/1.123, allocations: 121.2 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/1.123, allocations: 4.562 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/1.123, allocations: 9.031 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.123, allocations: 4 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.123, allocations: 0 / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.123, allocations: 0 / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/1.124, allocations: 390.4 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.124, allocations: 4.5 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/1.124, allocations: 4 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.124, allocations: 6.016 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/1.124, allocations: 5.125 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.124, allocations: 0 / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.124, allocations: 0.8594 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/1.124, allocations: 217.3 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/1.124, allocations: 84.56 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/1.124, allocations: 4 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/1.124, allocations: 8 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/1.124, allocations: 8.078 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/1.124, allocations: 4.688 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.333e-05/1.124, allocations: 96.11 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.51e-07/1.124, allocations: 3.938 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003117/1.125, allocations: 55.5 kB / 1.132 GB, free: 28.55 MB / 0.7292 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.0006338/1.125, allocations: 0.8135 MB / 1.133 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002148/1.125, allocations: 87.58 kB / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.125, allocations: 0 / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/1.125, allocations: 35.42 kB / 1.133 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/1.126, allocations: 8 kB / 1.133 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/1.126, allocations: 0.738 MB / 1.134 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/1.126, allocations: 0.6951 MB / 1.135 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.237e-05/1.126, allocations: 7.266 kB / 1.135 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/1.127, allocations: 22.95 kB / 1.135 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/1.127, allocations: 0 / 1.135 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/1.14, allocations: 2.49 MB / 1.137 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.14, allocations: 240.8 kB / 1.137 GB, free: 24.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.784, allocations: 3.938 kB / 1.137 GB, free: 24.56 MB / 0.7292 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)