Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.822/1.822, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001186/0.001186, allocations: 193 kB / 377.1 MB, free: 1.508 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.857/1.857, allocations: 205.4 MB / 0.6366 GB, free: 8.496 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.0009834/0.0009833, allocations: 90.48 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2692, allocations: 116.3 MB / 0.9884 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7781/1.047, allocations: 141 MB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/1.048, allocations: 88.69 kB / 1.126 GB, free: 33.91 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.008019/1.056, allocations: 2.988 MB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/1.056, allocations: 0 / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.45e-06/1.056, allocations: 0 / 1.129 GB, free: 31.75 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.0004353/1.056, allocations: 425 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/1.056, allocations: 12.03 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/1.056, allocations: 39.44 kB / 1.13 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/1.056, allocations: 13.53 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.837e-05/1.056, allocations: 171 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/1.056, allocations: 3.438 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/1.056, allocations: 8 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/1.057, allocations: 71.86 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/1.057, allocations: 0.9375 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/1.057, allocations: 0.6562 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.057, allocations: 0 / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/1.057, allocations: 46.88 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/1.057, allocations: 316 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/1.057, allocations: 53.42 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/1.057, allocations: 8.125 kB / 1.13 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/1.058, allocations: 84.05 kB / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/1.058, allocations: 0 / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003417/1.058, allocations: 147.9 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/1.058, allocations: 56.34 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.464e-05/1.058, allocations: 116.1 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/1.058, allocations: 25.7 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/1.058, allocations: 92.23 kB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/1.058, allocations: 23.8 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/1.058, allocations: 0 / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.529e-05/1.058, allocations: 318.5 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/1.058, allocations: 35.45 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.509e-05/1.058, allocations: 53.31 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.663e-05/1.058, allocations: 35.47 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.058, allocations: 0.6562 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001998/1.059, allocations: 112.6 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.059, allocations: 7.578 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.059, allocations: 4 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/1.059, allocations: 4.688 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/1.059, allocations: 8 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.059, allocations: 4 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/1.059, allocations: 12.47 kB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/1.059, allocations: 7.953 kB / 1.131 GB, free: 29.41 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.913e-05/1.059, allocations: 121.8 kB / 1.131 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/1.059, allocations: 7.516 kB / 1.131 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/1.059, allocations: 8.938 kB / 1.131 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.059, allocations: 1.5 kB / 1.131 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.059, allocations: 1.125 kB / 1.131 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.059, allocations: 0 / 1.131 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/1.059, allocations: 395.3 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.059, allocations: 4.688 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/1.059, allocations: 7.469 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.059, allocations: 0 / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.059, allocations: 0 / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.059, allocations: 0.5 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.059, allocations: 4 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/1.06, allocations: 217.3 kB / 1.132 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/1.06, allocations: 85.05 kB / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/1.06, allocations: 1.375 kB / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/1.06, allocations: 8.172 kB / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/1.06, allocations: 7.516 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/1.06, allocations: 4 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.465e-05/1.06, allocations: 102.7 kB / 1.132 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.42e-07/1.06, allocations: 4 kB / 1.132 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002847/1.06, allocations: 51.5 kB / 1.132 GB, free: 28.37 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.0006263/1.061, allocations: 0.8185 MB / 1.133 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002062/1.061, allocations: 79.03 kB / 1.133 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.061, allocations: 0 / 1.133 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/1.061, allocations: 38.88 kB / 1.133 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/1.061, allocations: 5.312 kB / 1.133 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/1.062, allocations: 0.7412 MB / 1.134 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.893e-05/1.062, allocations: 0.6908 MB / 1.135 GB, free: 26 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.721e-05/1.062, allocations: 11.14 kB / 1.135 GB, free: 25.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/1.062, allocations: 22.72 kB / 1.135 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.062, allocations: 0 / 1.135 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/1.076, allocations: 2.499 MB / 1.137 GB, free: 24.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/1.076, allocations: 255.3 kB / 1.137 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.737, allocations: 1.219 kB / 1.137 GB, free: 24.35 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)