Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",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.673/1.673, allocations: 288.2 MB / 303.2 MB, free: 8.215 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.001208/0.001207, allocations: 186.9 kB / 371.8 MB, free: 10.28 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.735/1.735, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008468/0.0008465, allocations: 93.17 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005589/0.0005589, allocations: 14.41 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3389, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9005/1.239, allocations: 140 MB / 1.116 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/1.24, allocations: 84.88 kB / 1.116 GB, free: 16.28 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.009156/1.249, allocations: 2.998 MB / 1.119 GB, free: 31.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.249, allocations: 0 / 1.119 GB, free: 31.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.249, allocations: 0 / 1.119 GB, free: 31.83 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.0005868/1.25, allocations: 428.7 kB / 1.12 GB, free: 31.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.25, allocations: 11.56 kB / 1.12 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/1.25, allocations: 37.25 kB / 1.12 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/1.25, allocations: 3.844 kB / 1.12 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/1.25, allocations: 176.5 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/1.25, allocations: 3.875 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/1.25, allocations: 13.31 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/1.25, allocations: 66.25 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.25, allocations: 0 / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.25, allocations: 0 / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.25, allocations: 7.875 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/1.25, allocations: 39.17 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/1.251, allocations: 321.8 kB / 1.12 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/1.251, allocations: 55.09 kB / 1.12 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/1.251, allocations: 2.625 kB / 1.12 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/1.251, allocations: 76.22 kB / 1.12 GB, free: 30.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/1.251, allocations: 4 kB / 1.12 GB, free: 30.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003981/1.252, allocations: 158.8 kB / 1.121 GB, free: 30.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/1.252, allocations: 51.41 kB / 1.121 GB, free: 30.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/1.252, allocations: 116.7 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/1.252, allocations: 28.83 kB / 1.121 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/1.252, allocations: 101.1 kB / 1.121 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/1.252, allocations: 7.812 kB / 1.121 GB, free: 30.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/1.252, allocations: 3.438 kB / 1.121 GB, free: 30.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.252, allocations: 321 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/1.252, allocations: 24.73 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/1.252, allocations: 64.78 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.36e-05/1.253, allocations: 32.08 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.253, allocations: 0 / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002102/1.253, allocations: 111.7 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.253, allocations: 7.656 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.253, allocations: 0 / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.253, allocations: 2.953 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/1.253, allocations: 22.77 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.253, allocations: 0 / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/1.253, allocations: 11.47 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/1.253, allocations: 7.828 kB / 1.121 GB, free: 30.04 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 9.911e-05/1.253, allocations: 124.9 kB / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/1.253, allocations: 0 / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/1.253, allocations: 12.19 kB / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.253, allocations: 0 / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.253, allocations: 0 / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.253, allocations: 0 / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/1.254, allocations: 392 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.254, allocations: 0 / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/1.254, allocations: 11.08 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.254, allocations: 0 / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/1.254, allocations: 3.25 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.254, allocations: 0 / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.254, allocations: 0 / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/1.254, allocations: 227.7 kB / 1.122 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/1.254, allocations: 81.05 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/1.254, allocations: 6.797 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/1.254, allocations: 7.719 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/1.254, allocations: 3.094 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/1.254, allocations: 3.906 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.241e-05/1.254, allocations: 99 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.254, allocations: 4 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003135/1.255, allocations: 52.31 kB / 1.122 GB, free: 29.27 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.0008568/1.255, allocations: 0.8245 MB / 1.123 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002274/1.256, allocations: 72.02 kB / 1.123 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/1.256, allocations: 0 / 1.123 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/1.256, allocations: 44.47 kB / 1.123 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/1.256, allocations: 6.453 kB / 1.123 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/1.257, allocations: 0.7313 MB / 1.124 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/1.257, allocations: 0.6966 MB / 1.125 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.623e-05/1.257, allocations: 15 kB / 1.125 GB, free: 27.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/1.257, allocations: 19.81 kB / 1.125 GB, free: 27.18 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/1.257, allocations: 0 / 1.125 GB, free: 27.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/1.271, allocations: 2.509 MB / 1.127 GB, free: 26.98 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/1.271, allocations: 251.8 kB / 1.127 GB, free: 26.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.892, allocations: 0 / 1.127 GB, free: 26.64 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)