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.775/1.775, allocations: 289.7 MB / 302.3 MB, free: 2.141 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.001492/0.001491, allocations: 176.3 kB / 371.6 MB, free: 3.332 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.841/1.841, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.00111/0.00111, allocations: 93.98 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.158e-05, allocations: 0 / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.31, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.353, allocations: 140.9 MB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/1.353, allocations: 83.84 kB / 1.118 GB, free: 43.16 MB / 0.7448 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.008902/1.362, allocations: 2.969 MB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.583e-06/1.362, allocations: 0 / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.362, allocations: 0 / 1.12 GB, free: 41.45 MB / 0.7448 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.0004732/1.363, allocations: 420.1 kB / 1.121 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.363, allocations: 12.03 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/1.363, allocations: 32.94 kB / 1.121 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/1.363, allocations: 10.41 kB / 1.121 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/1.363, allocations: 174.9 kB / 1.121 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/1.363, allocations: 0.625 kB / 1.121 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/1.363, allocations: 4 kB / 1.121 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/1.363, allocations: 65.17 kB / 1.121 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/1.363, allocations: 0.9062 kB / 1.121 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/1.363, allocations: 3.328 kB / 1.121 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.363, allocations: 8 kB / 1.121 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.472e-05/1.363, allocations: 22.56 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/1.364, allocations: 315.6 kB / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.473e-05/1.364, allocations: 38.14 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/1.364, allocations: 31.61 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/1.364, allocations: 0.6562 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/1.364, allocations: 72.47 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/1.364, allocations: 4 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002269/1.364, allocations: 100.4 kB / 1.122 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/1.364, allocations: 55.36 kB / 1.122 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/1.365, allocations: 117 kB / 1.122 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/1.365, allocations: 29.7 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/1.365, allocations: 99.19 kB / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/1.365, allocations: 11.75 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/1.365, allocations: 3.125 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/1.365, allocations: 321.7 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/1.365, allocations: 18.94 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.123e-05/1.365, allocations: 45.27 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/1.365, allocations: 22.94 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.365, allocations: 0 / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001386/1.365, allocations: 101 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.365, allocations: 7.562 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/1.365, allocations: 4 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.365, allocations: 0.5625 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/1.365, allocations: 11.38 kB / 1.123 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/1.365, allocations: 12.41 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/1.365, allocations: 8.609 kB / 1.123 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/1.365, allocations: 4.875 kB / 1.123 GB, free: 39.35 MB / 0.7448 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 5.555e-05/1.365, allocations: 107.9 kB / 1.123 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/1.365, allocations: 7.906 kB / 1.123 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/1.365, allocations: 17.14 kB / 1.123 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/1.365, allocations: 0 / 1.123 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.365, allocations: 0 / 1.123 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.365, allocations: 6.156 kB / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/1.366, allocations: 357.9 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.366, allocations: 0 / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/1.366, allocations: 12.44 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.366, allocations: 0 / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/1.366, allocations: 3.422 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/1.366, allocations: 0.5625 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.366, allocations: 7.891 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/1.366, allocations: 204.5 kB / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/1.366, allocations: 77.95 kB / 1.123 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/1.366, allocations: 4 kB / 1.123 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/1.366, allocations: 7.844 kB / 1.123 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/1.366, allocations: 4 kB / 1.123 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/1.366, allocations: 10.69 kB / 1.123 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.523e-05/1.366, allocations: 91.5 kB / 1.123 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.366, allocations: 4 kB / 1.123 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002735/1.367, allocations: 50.16 kB / 1.123 GB, free: 38.43 MB / 0.7448 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.0006397/1.367, allocations: 0.8033 MB / 1.124 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001396/1.367, allocations: 64.62 kB / 1.124 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.367, allocations: 0 / 1.124 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.221e-05/1.367, allocations: 22.56 kB / 1.124 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/1.368, allocations: 12.44 kB / 1.124 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/1.368, allocations: 153.4 kB / 1.125 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/1.368, allocations: 0.6918 MB / 1.125 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.971e-05/1.368, allocations: 11.47 kB / 1.125 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/1.368, allocations: 22.02 kB / 1.125 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/1.368, allocations: 0 / 1.125 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/1.383, allocations: 2.515 MB / 1.128 GB, free: 35.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/1.383, allocations: 213 kB / 1.128 GB, free: 35.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/3.149, allocations: 4.062 kB / 1.128 GB, free: 35.11 MB / 0.7448 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)