Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.724/1.724, allocations: 291.7 MB / 306.8 MB, free: 7.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 179 kB / 375.4 MB, free: 5.113 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.7 MB / 0.6538 GB, free: 13.63 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000873/0.0008732, allocations: 103 kB / 0.7699 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 12.75 kB / 0.8956 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.7014, allocations: 118.1 MB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002516/0.704, allocations: 1.189 MB / 1.012 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.7057, allocations: 0.6693 MB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.7058, allocations: 0 / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.7058, allocations: 7.266 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.706, allocations: 9.922 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.7065, allocations: 96.81 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.905e-05/0.7066, allocations: 62.73 kB / 1.013 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.7067, allocations: 14.48 kB / 1.013 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.7068, allocations: 32.75 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.7069, allocations: 41.52 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.7069, allocations: 5.719 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.7071, allocations: 80.31 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.7071, allocations: 12.89 kB / 1.013 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.7071, allocations: 30.2 kB / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.7073, allocations: 108.1 kB / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7073, allocations: 0 / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7073, allocations: 0 / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.7073, allocations: 0 / 1.013 GB, free: 57.7 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.0006161/0.708, allocations: 410.8 kB / 1.014 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.708, allocations: 13.47 kB / 1.014 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.7081, allocations: 8.938 kB / 1.014 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7082, allocations: 171.8 kB / 1.014 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.7083, allocations: 6.469 kB / 1.014 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.7083, allocations: 9 kB / 1.014 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.7085, allocations: 71.75 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.7085, allocations: 0.5 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.7086, allocations: 11.91 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7086, allocations: 0 / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.7087, allocations: 41.81 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.7094, allocations: 325.2 kB / 1.014 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.7096, allocations: 50.98 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.7096, allocations: 34.92 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.7097, allocations: 1.375 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.7099, allocations: 89.45 kB / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.7099, allocations: 0.8906 kB / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003736/0.7102, allocations: 146.3 kB / 1.015 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.7103, allocations: 55.34 kB / 1.015 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.7104, allocations: 121.9 kB / 1.015 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.7104, allocations: 25.7 kB / 1.015 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.7104, allocations: 96.09 kB / 1.015 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.7105, allocations: 14.64 kB / 1.015 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.7105, allocations: 0 / 1.015 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.7105, allocations: 325.3 kB / 1.015 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-05/0.7106, allocations: 28.84 kB / 1.015 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/0.7107, allocations: 57.5 kB / 1.015 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.7109, allocations: 83.41 kB / 1.015 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.7109, allocations: 0 / 1.015 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002095/0.7111, allocations: 118.6 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.7111, allocations: 7.062 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7111, allocations: 0.9375 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.7111, allocations: 0 / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.7112, allocations: 20.36 kB / 1.015 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.7112, allocations: 2.344 kB / 1.015 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.7113, allocations: 17.55 kB / 1.015 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.7113, allocations: 3.031 kB / 1.015 GB, free: 55.96 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 (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 6.612e-05/0.7114, allocations: 125 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.7114, allocations: 2.969 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.7115, allocations: 10.09 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.7115, allocations: 7.531 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7115, allocations: 1.125 kB / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.7115, allocations: 0 / 1.016 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.7118, allocations: 388.7 kB / 1.016 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7118, allocations: 0 / 1.016 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.7119, allocations: 10.98 kB / 1.016 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7119, allocations: 0 / 1.016 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.7119, allocations: 1.906 kB / 1.016 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7119, allocations: 1.156 kB / 1.016 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7119, allocations: 3.938 kB / 1.016 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.7122, allocations: 223.7 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.7122, allocations: 77.11 kB / 1.016 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.7122, allocations: 7.812 kB / 1.016 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.7123, allocations: 4.375 kB / 1.016 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.7124, allocations: 14.06 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.7124, allocations: 5.656 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.7124, allocations: 95.98 kB / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7124, allocations: 0 / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002838/0.7127, allocations: 37.08 kB / 1.016 GB, free: 55.21 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 (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.0003711/0.7131, allocations: 178.1 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.7134, allocations: 79.72 kB / 1.017 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7134, allocations: 0 / 1.017 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.7135, allocations: 39.02 kB / 1.017 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.7137, allocations: 7.516 kB / 1.017 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.7141, allocations: 223.2 kB / 1.017 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.7142, allocations: 0.6903 MB / 1.018 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.748e-05/0.7142, allocations: 4.406 kB / 1.018 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.7143, allocations: 10.53 kB / 1.018 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7143, allocations: 1.844 kB / 1.018 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.00391/0.7182, allocations: 1.352 MB / 1.019 GB, free: 54.17 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)