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.49/1.49, allocations: 252 MB / 267 MB, free: 10.97 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.001114/0.001114, allocations: 182.6 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.4 MB / 0.5777 GB, free: 20.49 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.0009708/0.0009708, allocations: 93.98 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003528, allocations: 9 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.285, allocations: 106.3 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001615/0.2867, allocations: 1.184 MB / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2877, allocations: 0.7217 MB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.2878, allocations: 0 / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.2878, allocations: 7.938 kB / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.2879, allocations: 11.91 kB / 0.9022 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.2883, allocations: 103.7 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.697e-05/0.2884, allocations: 63.78 kB / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.2885, allocations: 7.984 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.318e-05/0.2886, allocations: 31.91 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.599e-05/0.2887, allocations: 39.84 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2887, allocations: 4 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.2889, allocations: 87.84 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.2889, allocations: 7.984 kB / 0.9025 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.2889, allocations: 37.64 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.2891, allocations: 99.81 kB / 0.9026 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2891, allocations: 0 / 0.9026 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.906e-06/0.2891, allocations: 0 / 0.9026 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2891, allocations: 0 / 0.9026 GB, free: 61.76 MB / 0.6042 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.0005351/0.2897, allocations: 409.2 kB / 0.903 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.2897, allocations: 8.031 kB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.2898, allocations: 34.56 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.2898, allocations: 15.84 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.554e-05/0.2899, allocations: 170.9 kB / 0.9033 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.2899, allocations: 7.984 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.29, allocations: 7.938 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.2901, allocations: 77.64 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2902, allocations: 3.938 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2902, allocations: 0 / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2902, allocations: 4 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.2903, allocations: 39.97 kB / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.2909, allocations: 316.8 kB / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.2911, allocations: 50.55 kB / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.2911, allocations: 40.91 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.2912, allocations: 4 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.2914, allocations: 79.38 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.2914, allocations: 3.938 kB / 0.9039 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003559/0.2917, allocations: 153.6 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.2918, allocations: 51.41 kB / 0.9041 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.2919, allocations: 129.8 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2919, allocations: 29.64 kB / 0.9042 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.2919, allocations: 92.23 kB / 0.9043 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.2919, allocations: 19.83 kB / 0.9043 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2919, allocations: 0 / 0.9043 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.292, allocations: 314.8 kB / 0.9046 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.2921, allocations: 35.98 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.746e-05/0.2922, allocations: 50.55 kB / 0.9047 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.989e-05/0.2923, allocations: 35.98 kB / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2923, allocations: 0 / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001955/0.2925, allocations: 121.5 kB / 0.9048 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2925, allocations: 4 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2925, allocations: 0 / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2925, allocations: 11.89 kB / 0.9049 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.2926, allocations: 12.05 kB / 0.9049 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.2926, allocations: 7.938 kB / 0.9049 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.2927, allocations: 15.91 kB / 0.9049 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2927, allocations: 8 kB / 0.9049 GB, free: 59.2 MB / 0.6042 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 (win.occ,$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 7.55e-05/0.2928, allocations: 113.8 kB / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.2928, allocations: 4 kB / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.2929, allocations: 12.36 kB / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2929, allocations: 0 / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2929, allocations: 7.953 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.2929, allocations: 0 / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.2932, allocations: 382.4 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2932, allocations: 0 / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.2933, allocations: 4 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2933, allocations: 0 / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2933, allocations: 11.94 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.2933, allocations: 4 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2933, allocations: 0 / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.2936, allocations: 219.9 kB / 0.9056 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.2936, allocations: 84.98 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.2936, allocations: 7.984 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.2937, allocations: 7.953 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.2937, allocations: 7.984 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2938, allocations: 8 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.2938, allocations: 91.27 kB / 0.9058 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2938, allocations: 0 / 0.9058 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002463/0.2941, allocations: 39.94 kB / 0.9059 GB, free: 58.11 MB / 0.6042 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,win.occ,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.0006297/0.2947, allocations: 0.8073 MB / 0.9067 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.2949, allocations: 87.88 kB / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2949, allocations: 0 / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.759e-05/0.295, allocations: 39.92 kB / 0.9068 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.2953, allocations: 5.984 kB / 0.9068 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008641/0.2961, allocations: 0.6137 MB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.2963, allocations: 0.6894 MB / 0.9081 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.2963, allocations: 4.188 kB / 0.9081 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.2964, allocations: 23.42 kB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2964, allocations: 4 kB / 0.9081 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.3099, allocations: 2.346 MB / 0.9104 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.3102, allocations: 272.1 kB / 0.9106 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/1.989, allocations: 3.938 kB / 0.9106 GB, free: 53.26 MB / 0.6042 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)