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.747/1.747, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.00133/0.00133, allocations: 180.9 kB / 366.7 MB, free: 1.68 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.059/2.059, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0009656/0.0009655, allocations: 88.12 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.736e-05, allocations: 0 / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7862, allocations: 116.3 MB / 0.9733 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/0.9955, allocations: 140.2 MB / 1.11 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.9958, allocations: 83.89 kB / 1.11 GB, free: 9.785 MB / 0.7136 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.009263/1.005, allocations: 2.952 MB / 1.113 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/1.005, allocations: 0 / 1.113 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.005, allocations: 4.594 kB / 1.113 GB, free: 6.852 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.000578/1.006, allocations: 413 kB / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.006, allocations: 8.625 kB / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/1.006, allocations: 8.781 kB / 1.114 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/1.006, allocations: 178 kB / 1.114 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/1.006, allocations: 7.922 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/1.006, allocations: 4.938 kB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.33e-05/1.006, allocations: 20 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/1.006, allocations: 55.8 kB / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/1.006, allocations: 4 kB / 1.114 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/1.006, allocations: 0 / 1.114 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/1.006, allocations: 0 / 1.114 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/1.007, allocations: 292.9 kB / 1.114 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.139e-05/1.007, allocations: 42.52 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/1.007, allocations: 20.98 kB / 1.114 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/1.007, allocations: 11.48 kB / 1.114 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/1.007, allocations: 69.8 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/1.007, allocations: 0 / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002516/1.007, allocations: 88.48 kB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/1.008, allocations: 59.39 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/1.008, allocations: 115.5 kB / 1.115 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/1.008, allocations: 26.64 kB / 1.115 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/1.008, allocations: 96.31 kB / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/1.008, allocations: 16.25 kB / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/1.008, allocations: 4 kB / 1.115 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.008, allocations: 326.6 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/1.008, allocations: 20 kB / 1.115 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.366e-05/1.008, allocations: 36.55 kB / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.142e-05/1.008, allocations: 19.98 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.008, allocations: 0 / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001808/1.008, allocations: 99.22 kB / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.008, allocations: 4 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.008, allocations: 0 / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.008, allocations: 4 kB / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/1.008, allocations: 12.92 kB / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.008, allocations: 0 / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/1.009, allocations: 9.375 kB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/1.009, allocations: 4 kB / 1.115 GB, free: 4.629 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 7.955e-05/1.009, allocations: 118.4 kB / 1.115 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001561/1.009, allocations: 97.58 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/1.009, allocations: 4 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/1.009, allocations: 4.625 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.009, allocations: 0 / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.009, allocations: 0 / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.009, allocations: 4 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/1.009, allocations: 350.9 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.009, allocations: 0 / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/1.009, allocations: 4 kB / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.009, allocations: 0 / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.009, allocations: 0 / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/1.009, allocations: 16.39 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.009, allocations: 4 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/1.01, allocations: 191.5 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/1.01, allocations: 81.02 kB / 1.116 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/1.01, allocations: 0 / 1.116 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/1.01, allocations: 7.984 kB / 1.116 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/1.01, allocations: 7.938 kB / 1.116 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/1.01, allocations: 7.984 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.43e-05/1.01, allocations: 91.23 kB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/1.01, allocations: 0 / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003006/1.01, allocations: 55.92 kB / 1.116 GB, free: 3.527 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.0007436/1.011, allocations: 0.7866 MB / 1.117 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001342/1.011, allocations: 55.92 kB / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.011, allocations: 0 / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.443e-05/1.011, allocations: 27.94 kB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/1.011, allocations: 4 kB / 1.117 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/1.012, allocations: 146.1 kB / 1.117 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/1.012, allocations: 0.6946 MB / 1.118 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.943e-05/1.012, allocations: 9.422 kB / 1.118 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/1.012, allocations: 19.44 kB / 1.118 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.012, allocations: 0 / 1.118 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/1.037, allocations: 2.194 MB / 1.12 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/1.037, allocations: 192.7 kB / 1.12 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.681, allocations: 0 / 1.12 GB, free: 15.38 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)