Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.454/2.454, allocations: 254.9 MB / 269.9 MB, free: 9.66 MB / 218.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.001369/0.001369, allocations: 191.1 kB / 329.5 MB, free: 1.176 MB / 250.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 2.454/2.454, allocations: 225.6 MB / 0.6001 GB, free: 0.4961 MB / 426.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.0009601/0.00096, allocations: 95.52 kB / 0.7074 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004735, allocations: 10 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2046, allocations: 109.1 MB / 0.9308 GB, free: 24.93 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001857/0.2066, allocations: 1.189 MB / 0.9319 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.208, allocations: 0.6744 MB / 0.9326 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.2081, allocations: 4 kB / 0.9326 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.2082, allocations: 3.938 kB / 0.9326 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.2083, allocations: 11.92 kB / 0.9326 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.2089, allocations: 91.77 kB / 0.9327 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.209, allocations: 67.78 kB / 0.9327 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.2091, allocations: 23.89 kB / 0.9328 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-05/0.2092, allocations: 27.92 kB / 0.9328 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.847e-05/0.2093, allocations: 39.83 kB / 0.9328 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.2093, allocations: 4 kB / 0.9328 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.2095, allocations: 79.91 kB / 0.9329 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.2096, allocations: 15.92 kB / 0.9329 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.2096, allocations: 33.7 kB / 0.933 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.2098, allocations: 96.05 kB / 0.9331 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2098, allocations: 0 / 0.9331 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2099, allocations: 3.938 kB / 0.9331 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2099, allocations: 0 / 0.9331 GB, free: 22.55 MB / 0.5886 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.0006154/0.2105, allocations: 417 kB / 0.9335 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2105, allocations: 12.03 kB / 0.9335 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.2106, allocations: 8.844 kB / 0.9335 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/0.2107, allocations: 172.2 kB / 0.9336 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.2107, allocations: 4.375 kB / 0.9336 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.2108, allocations: 8.375 kB / 0.9337 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.211, allocations: 77.95 kB / 0.9337 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.211, allocations: 0 / 0.9337 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.2111, allocations: 0 / 0.9337 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2111, allocations: 4 kB / 0.9337 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.2113, allocations: 43.91 kB / 0.9338 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.212, allocations: 316.8 kB / 0.9341 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.2122, allocations: 54.55 kB / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.2124, allocations: 36.97 kB / 0.9342 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.2124, allocations: 4.062 kB / 0.9342 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.2126, allocations: 83.31 kB / 0.9342 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.2127, allocations: 0 / 0.9342 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005725/0.2132, allocations: 145.5 kB / 0.9344 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.2133, allocations: 59.41 kB / 0.9344 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.2134, allocations: 117.8 kB / 0.9346 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.2134, allocations: 29.7 kB / 0.9346 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.2135, allocations: 88.05 kB / 0.9347 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.2135, allocations: 23.81 kB / 0.9347 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.2135, allocations: 4 kB / 0.9347 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.856e-05/0.2136, allocations: 322.8 kB / 0.935 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2137, allocations: 31.92 kB / 0.935 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2139, allocations: 54.48 kB / 0.9351 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.214, allocations: 35.98 kB / 0.9351 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.214, allocations: 0 / 0.9351 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003437/0.2144, allocations: 117.5 kB / 0.9352 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2144, allocations: 4 kB / 0.9352 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2144, allocations: 7.938 kB / 0.9352 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2145, allocations: 0 / 0.9352 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.2146, allocations: 12.06 kB / 0.9353 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.2146, allocations: 7.984 kB / 0.9353 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.2148, allocations: 11.91 kB / 0.9353 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2148, allocations: 4 kB / 0.9353 GB, free: 20.04 MB / 0.5886 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 8.908e-05/0.2149, allocations: 121.7 kB / 0.9354 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.2149, allocations: 7.906 kB / 0.9354 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.215, allocations: 12.36 kB / 0.9354 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.215, allocations: 4 kB / 0.9354 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.215, allocations: 0 / 0.9354 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.215, allocations: 4 kB / 0.9354 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.2156, allocations: 386.3 kB / 0.9358 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2156, allocations: 0 / 0.9358 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.2157, allocations: 4 kB / 0.9358 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2157, allocations: 4 kB / 0.9358 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.2157, allocations: 11.98 kB / 0.9358 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2157, allocations: 0 / 0.9358 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2157, allocations: 7.938 kB / 0.9358 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.2161, allocations: 207.9 kB / 0.936 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.2162, allocations: 85.09 kB / 0.9361 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.2162, allocations: 3.984 kB / 0.9361 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.2163, allocations: 4 kB / 0.9361 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.2164, allocations: 15.92 kB / 0.9361 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.2164, allocations: 4 kB / 0.9361 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.2165, allocations: 95.2 kB / 0.9362 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.512e-06/0.2165, allocations: 0 / 0.9362 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003942/0.2169, allocations: 43.84 kB / 0.9363 GB, free: 18.94 MB / 0.5886 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.000463/0.2174, allocations: 173.3 kB / 0.9364 GB, free: 18.78 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.2178, allocations: 83.92 kB / 0.9365 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2178, allocations: 3.938 kB / 0.9365 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.218, allocations: 40.11 kB / 0.9365 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.2183, allocations: 11.98 kB / 0.9365 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.2188, allocations: 207.2 kB / 0.9367 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.219, allocations: 0.6887 MB / 0.9374 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.218e-05/0.2191, allocations: 7.688 kB / 0.9374 GB, free: 17.69 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.2191, allocations: 19.36 kB / 0.9374 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/0.2191, allocations: 0 / 0.9374 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of Templates: time 0.005281/0.2244, allocations: 1.334 MB / 0.9387 GB, free: 16.33 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)