Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.623/1.623, allocations: 255.9 MB / 271.2 MB, free: 8.922 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.001088/0.001088, allocations: 187.8 kB / 330.8 MB, free: 496 kB / 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 1.539/1.539, allocations: 225.7 MB / 0.6016 GB, free: 1.641 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.0007969/0.0007971, allocations: 103.7 kB / 0.709 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003498, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1956, allocations: 109.2 MB / 0.9327 GB, free: 6.293 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001556/0.1972, allocations: 1.193 MB / 0.9339 GB, free: 5.09 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1983, allocations: 0.9913 MB / 0.9349 GB, free: 4.02 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.1984, allocations: 7.938 kB / 0.9349 GB, free: 4.012 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.1984, allocations: 0 / 0.9349 GB, free: 4.012 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.1985, allocations: 7.875 kB / 0.9349 GB, free: 4.004 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.199, allocations: 99.81 kB / 0.935 GB, free: 3.906 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.1991, allocations: 75.72 kB / 0.9351 GB, free: 3.832 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.465e-05/0.1991, allocations: 15.98 kB / 0.9351 GB, free: 3.816 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.1992, allocations: 27.91 kB / 0.9351 GB, free: 3.789 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.1993, allocations: 39.83 kB / 0.9351 GB, free: 3.75 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1993, allocations: 4 kB / 0.9351 GB, free: 3.746 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.1995, allocations: 87.84 kB / 0.9352 GB, free: 3.66 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.1995, allocations: 15.92 kB / 0.9352 GB, free: 3.645 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.1996, allocations: 53.56 kB / 0.9353 GB, free: 3.586 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1998, allocations: 131.9 kB / 0.9354 GB, free: 3.457 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1998, allocations: 3.984 kB / 0.9354 GB, free: 3.453 MB / 0.573 GB Notification: Performance of FrontEnd: time 8.91e-07/0.1998, allocations: 0 / 0.9354 GB, free: 3.453 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1998, allocations: 4 kB / 0.9354 GB, free: 3.449 MB / 0.573 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.000443/0.2002, allocations: 405 kB / 0.9358 GB, free: 3 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.2003, allocations: 11.98 kB / 0.9358 GB, free: 2.988 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.2003, allocations: 8.922 kB / 0.9358 GB, free: 2.98 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.542e-05/0.2004, allocations: 180.2 kB / 0.936 GB, free: 2.766 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.2004, allocations: 384 / 0.936 GB, free: 2.766 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.2005, allocations: 4.375 kB / 0.936 GB, free: 2.762 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.2006, allocations: 85.89 kB / 0.9361 GB, free: 2.672 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2006, allocations: 4 kB / 0.9361 GB, free: 2.668 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.2007, allocations: 0 / 0.9361 GB, free: 2.668 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.2007, allocations: 0 / 0.9361 GB, free: 2.668 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.2008, allocations: 43.97 kB / 0.9361 GB, free: 2.625 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.2013, allocations: 324.6 kB / 0.9364 GB, free: 2.258 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.2014, allocations: 54.55 kB / 0.9365 GB, free: 2.195 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/0.2015, allocations: 32.97 kB / 0.9365 GB, free: 2.16 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2015, allocations: 8 kB / 0.9365 GB, free: 2.152 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.2017, allocations: 83.44 kB / 0.9366 GB, free: 2.059 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.2017, allocations: 0 / 0.9366 GB, free: 2.059 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0003353/0.202, allocations: 149.5 kB / 0.9368 GB, free: 1.906 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.2021, allocations: 59.41 kB / 0.9368 GB, free: 1.836 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.2021, allocations: 125.8 kB / 0.9369 GB, free: 1.703 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.2021, allocations: 25.7 kB / 0.937 GB, free: 1.672 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.2022, allocations: 88.14 kB / 0.937 GB, free: 1.582 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.2022, allocations: 19.73 kB / 0.9371 GB, free: 1.562 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.2022, allocations: 0 / 0.9371 GB, free: 1.562 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.035e-05/0.2023, allocations: 322.8 kB / 0.9374 GB, free: 1.238 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.2024, allocations: 31.98 kB / 0.9374 GB, free: 1.207 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.2024, allocations: 50.55 kB / 0.9374 GB, free: 1.148 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.2026, allocations: 82.48 kB / 0.9375 GB, free: 1.059 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2026, allocations: 0 / 0.9375 GB, free: 1.059 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000206/0.2028, allocations: 121.5 kB / 0.9376 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2028, allocations: 11.92 kB / 0.9377 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2028, allocations: 64 / 0.9377 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2029, allocations: 7.938 kB / 0.9377 GB, free: 0.9141 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.2029, allocations: 12 kB / 0.9377 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.203, allocations: 3.938 kB / 0.9377 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.203, allocations: 7.984 kB / 0.9377 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.203, allocations: 4 kB / 0.9377 GB, free: 0.8867 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.2031, allocations: 127 kB / 0.9378 GB, free: 0.7539 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.2031, allocations: 7.906 kB / 0.9378 GB, free: 0.7461 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.2032, allocations: 16.36 kB / 0.9378 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2032, allocations: 0 / 0.9378 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2032, allocations: 0 / 0.9378 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2032, allocations: 0 / 0.9378 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.2035, allocations: 394.2 kB / 0.9382 GB, free: 296 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2035, allocations: 4 kB / 0.9382 GB, free: 292 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.2036, allocations: 8 kB / 0.9382 GB, free: 284 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2036, allocations: 0 / 0.9382 GB, free: 284 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2036, allocations: 3.984 kB / 0.9382 GB, free: 280 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2036, allocations: 0 / 0.9382 GB, free: 280 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2036, allocations: 3.938 kB / 0.9382 GB, free: 276 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.2038, allocations: 211.5 kB / 0.9384 GB, free: 48 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.2039, allocations: 88.95 kB / 0.9385 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2039, allocations: 0 / 0.9385 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.204, allocations: 7.984 kB / 0.9385 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.2041, allocations: 7.938 kB / 0.9385 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2041, allocations: 3.984 kB / 0.9385 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.2041, allocations: 95.27 kB / 0.9386 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2041, allocations: 4 kB / 0.9386 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002777/0.2044, allocations: 36 kB / 0.9387 GB, free: 15.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003018/0.2047, allocations: 177.1 kB / 0.9388 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.205, allocations: 84.5 kB / 0.9389 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.205, allocations: 0 / 0.9389 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.2051, allocations: 35.98 kB / 0.9389 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.2053, allocations: 11.94 kB / 0.939 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.2057, allocations: 225.3 kB / 0.9392 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.206, allocations: 0.6926 MB / 0.9398 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.206, allocations: 3.938 kB / 0.9399 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.2061, allocations: 15.42 kB / 0.9399 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of SimCode: time 3.6e-07/0.2061, allocations: 0 / 0.9399 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of Templates: time 0.00363/0.2097, allocations: 1.363 MB / 0.9412 GB, free: 13.15 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)