Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001665, allocations: 182.6 kB / 326.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008756/0.0008757, allocations: 91.98 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 9.469 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 106.3 MB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.4863, allocations: 133.7 MB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/0.4867, allocations: 91.88 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.01006/0.4967, allocations: 2.99 MB / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.688e-06/0.4968, allocations: 0 / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.4968, allocations: 3.938 kB / 1.034 GB, free: 7.41 MB / 0.6823 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.0006793/0.4975, allocations: 432.7 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.4976, allocations: 12.03 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.4976, allocations: 30.56 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.4977, allocations: 11.89 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.4978, allocations: 174.9 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.4979, allocations: 11.94 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.4979, allocations: 3.984 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.4981, allocations: 69.66 kB / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4981, allocations: 4 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.4981, allocations: 4 kB / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.4982, allocations: 0 / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.4983, allocations: 47.91 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.499, allocations: 316.7 kB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.4992, allocations: 58.55 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.4992, allocations: 0 / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.4994, allocations: 83.44 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.4994, allocations: 0 / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004284/0.4998, allocations: 145.5 kB / 1.035 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.4999, allocations: 55.36 kB / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.5, allocations: 113 kB / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.5001, allocations: 33.64 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.5001, allocations: 92.38 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.5002, allocations: 15.81 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-06/0.5002, allocations: 0 / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5003, allocations: 322.8 kB / 1.036 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.5004, allocations: 27.98 kB / 1.036 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.5005, allocations: 54.5 kB / 1.036 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.5006, allocations: 33.83 kB / 1.036 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5006, allocations: 0 / 1.036 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002554/0.5009, allocations: 121.5 kB / 1.036 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5009, allocations: 4 kB / 1.036 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5009, allocations: 0 / 1.036 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.501, allocations: 7.938 kB / 1.036 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.5011, allocations: 11.98 kB / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5011, allocations: 0 / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.5012, allocations: 15.95 kB / 1.036 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.5012, allocations: 4 kB / 1.036 GB, free: 4.898 MB / 0.6823 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 0.0001502/0.5014, allocations: 128.1 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.5014, allocations: 7.906 kB / 1.036 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.5014, allocations: 8.375 kB / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5015, allocations: 0 / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5015, allocations: 0 / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5015, allocations: 0 / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.5021, allocations: 394.4 kB / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5021, allocations: 0 / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.5021, allocations: 7.984 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.5021, allocations: 0 / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5021, allocations: 0 / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.5022, allocations: 4.469 kB / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.5022, allocations: 7.953 kB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.5025, allocations: 223.4 kB / 1.037 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.5026, allocations: 85.02 kB / 1.037 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.5026, allocations: 0 / 1.037 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.5027, allocations: 4 kB / 1.037 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.5028, allocations: 15.94 kB / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.5028, allocations: 8 kB / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.5029, allocations: 91.27 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.595e-06/0.5029, allocations: 0 / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000347/0.5032, allocations: 55.86 kB / 1.037 GB, free: 3.781 MB / 0.6823 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.001026/0.5042, allocations: 0.8079 MB / 1.038 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.5045, allocations: 79.89 kB / 1.038 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5045, allocations: 4.125 kB / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.5046, allocations: 35.98 kB / 1.038 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.5048, allocations: 10.02 kB / 1.038 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/0.5058, allocations: 0.7419 MB / 1.039 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.5062, allocations: 0.6926 MB / 1.039 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.414e-05/0.5062, allocations: 8.172 kB / 1.039 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.5063, allocations: 19.44 kB / 1.039 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.5063, allocations: 0 / 1.039 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.5226, allocations: 2.517 MB / 1.042 GB, free: 14.97 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/0.5229, allocations: 262.3 kB / 1.042 GB, free: 14.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.101, allocations: 0.5 kB / 1.042 GB, free: 14.63 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)