Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01108/0.01108, allocations: 106.4 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001273/0.001273, allocations: 180.4 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.06/2.06, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.506/2.506, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004844, allocations: 8 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.682/0.6826, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.00225/0.6849, allocations: 1.164 MB / 0.6846 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.6866, allocations: 0.7048 MB / 0.6853 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.6867, allocations: 5.312 kB / 0.6853 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.6868, allocations: 4.453 kB / 0.6853 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.974e-05/0.6869, allocations: 10.78 kB / 0.6853 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.6876, allocations: 92.03 kB / 0.6854 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.6877, allocations: 46.8 kB / 0.6854 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.6879, allocations: 7.078 kB / 0.6854 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.688, allocations: 37.48 kB / 0.6854 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/0.6881, allocations: 36.77 kB / 0.6855 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.6881, allocations: 3.875 kB / 0.6855 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.6884, allocations: 65.03 kB / 0.6855 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.6884, allocations: 14.34 kB / 0.6856 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.6885, allocations: 36.09 kB / 0.6856 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.6887, allocations: 95.44 kB / 0.6857 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.6888, allocations: 0 / 0.6857 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6888, allocations: 0 / 0.6857 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.6888, allocations: 0 / 0.6857 GB, free: 15.3 MB / 0.5261 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.0006795/0.6895, allocations: 417.4 kB / 0.6861 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.6895, allocations: 10.33 kB / 0.6861 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.6896, allocations: 33.2 kB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.6896, allocations: 10.64 kB / 0.6861 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.6898, allocations: 176.4 kB / 0.6863 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.6898, allocations: 7.141 kB / 0.6863 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.6899, allocations: 3.875 kB / 0.6863 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.6901, allocations: 71.17 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6901, allocations: 0.6094 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.6902, allocations: 4 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6902, allocations: 1 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.6904, allocations: 46.53 kB / 0.6864 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008237/0.6913, allocations: 323.1 kB / 0.6867 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.6915, allocations: 47.23 kB / 0.6868 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.6915, allocations: 1 kB / 0.6868 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.6918, allocations: 80.69 kB / 0.6869 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.856e-06/0.6918, allocations: 0 / 0.6869 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006108/0.6924, allocations: 152.8 kB / 0.687 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.6925, allocations: 57.61 kB / 0.6871 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.6926, allocations: 119.1 kB / 0.6872 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.6926, allocations: 31.14 kB / 0.6872 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.6927, allocations: 92.2 kB / 0.6873 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.6927, allocations: 20.11 kB / 0.6873 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.6928, allocations: 1.562 kB / 0.6873 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.6928, allocations: 322.7 kB / 0.6876 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.693, allocations: 33.08 kB / 0.6877 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.6932, allocations: 53.3 kB / 0.6877 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.6933, allocations: 33.98 kB / 0.6877 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.6933, allocations: 1 kB / 0.6877 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000402/0.6938, allocations: 117.4 kB / 0.6879 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.6938, allocations: 6.406 kB / 0.6879 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6938, allocations: 8.938 kB / 0.6879 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.6938, allocations: 7.047 kB / 0.6879 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.694, allocations: 11.31 kB / 0.6879 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.694, allocations: 1.625 kB / 0.6879 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.6942, allocations: 18.94 kB / 0.6879 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.6942, allocations: 2.953 kB / 0.6879 GB, free: 13.33 MB / 0.5261 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 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.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.0001114/0.6943, allocations: 116.2 kB / 0.688 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.6944, allocations: 11.64 kB / 0.688 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.6944, allocations: 6.172 kB / 0.688 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6944, allocations: 5.625 kB / 0.688 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6944, allocations: 0.9375 kB / 0.688 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6944, allocations: 4.734 kB / 0.688 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.6951, allocations: 384.7 kB / 0.6884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6951, allocations: 3.984 kB / 0.6884 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.101e-05/0.6952, allocations: 5.656 kB / 0.6884 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.6952, allocations: 5.984 kB / 0.6884 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.6953, allocations: 1.969 kB / 0.6884 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6953, allocations: 0 / 0.6884 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6953, allocations: 4.516 kB / 0.6884 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.6957, allocations: 217.2 kB / 0.6886 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.6958, allocations: 84.53 kB / 0.6887 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.6958, allocations: 6.188 kB / 0.6887 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.6959, allocations: 8.469 kB / 0.6887 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.696, allocations: 5.891 kB / 0.6887 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.696, allocations: 3.719 kB / 0.6887 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.131e-05/0.6961, allocations: 100.2 kB / 0.6888 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6961, allocations: 0 / 0.6888 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004591/0.6966, allocations: 38.77 kB / 0.6889 GB, free: 12.48 MB / 0.5261 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 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.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.0009656/0.6976, allocations: 0.8178 MB / 0.6897 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.698, allocations: 78.94 kB / 0.6898 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.698, allocations: 0 / 0.6898 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.6982, allocations: 39.39 kB / 0.6898 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.6985, allocations: 14.2 kB / 0.6898 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009794/0.6994, allocations: 0.7229 MB / 0.6905 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.6996, allocations: 0.6905 MB / 0.6912 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.006e-05/0.6997, allocations: 5.297 kB / 0.6912 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.6998, allocations: 20.69 kB / 0.6912 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/0.6998, allocations: 0 / 0.6912 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.7271, allocations: 2.32 MB / 0.6935 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/0.7274, allocations: 256.9 kB / 0.6937 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.228, allocations: 4 kB / 0.6937 GB, free: 9.719 MB / 0.5261 GB