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.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") 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.423/1.423, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.0009779/0.0009778, allocations: 185.9 kB / 330.8 MB, free: 464 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.637/1.637, allocations: 225.7 MB / 0.6016 GB, free: 15.87 MB / 442.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.001012/0.001012, allocations: 105.4 kB / 0.709 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 8.219 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1948, allocations: 109.2 MB / 0.9327 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001506/0.1964, allocations: 1.189 MB / 0.9339 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1975, allocations: 0.999 MB / 0.9349 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.1976, allocations: 0 / 0.9349 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.1976, allocations: 3.984 kB / 0.9349 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.367e-05/0.1977, allocations: 15.86 kB / 0.9349 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.1982, allocations: 99.83 kB / 0.935 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.199e-05/0.1983, allocations: 67.78 kB / 0.9351 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.1984, allocations: 15.98 kB / 0.9351 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.1985, allocations: 27.91 kB / 0.9351 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.1986, allocations: 35.84 kB / 0.9351 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1986, allocations: 4 kB / 0.9351 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.1988, allocations: 87.84 kB / 0.9352 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.1988, allocations: 15.92 kB / 0.9352 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.1989, allocations: 53.55 kB / 0.9353 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.1991, allocations: 143.9 kB / 0.9354 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1991, allocations: 0 / 0.9354 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1991, allocations: 4 kB / 0.9354 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1991, allocations: 0 / 0.9354 GB, free: 21.22 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.0004985/0.1996, allocations: 401 kB / 0.9358 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1997, allocations: 13.11 kB / 0.9358 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1997, allocations: 4.938 kB / 0.9358 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.659e-05/0.1998, allocations: 176.2 kB / 0.936 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.1999, allocations: 12.36 kB / 0.936 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.1999, allocations: 8.375 kB / 0.936 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.2001, allocations: 73.91 kB / 0.9361 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2001, allocations: 0 / 0.9361 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2001, allocations: 0 / 0.9361 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.2001, allocations: 0 / 0.9361 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.2002, allocations: 47.97 kB / 0.9361 GB, free: 20.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.2007, allocations: 324.6 kB / 0.9364 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.2009, allocations: 50.56 kB / 0.9365 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.201, allocations: 40.97 kB / 0.9365 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.201, allocations: 0 / 0.9365 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.2012, allocations: 79.38 kB / 0.9366 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.2012, allocations: 0 / 0.9366 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003814/0.2016, allocations: 161.5 kB / 0.9368 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.2016, allocations: 51.48 kB / 0.9368 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.454e-05/0.2017, allocations: 117.8 kB / 0.9369 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2017, allocations: 29.7 kB / 0.937 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.2018, allocations: 96.11 kB / 0.937 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.2018, allocations: 19.75 kB / 0.9371 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.2018, allocations: 4 kB / 0.9371 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.2019, allocations: 322.8 kB / 0.9374 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.202, allocations: 31.92 kB / 0.9374 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/0.202, allocations: 47 kB / 0.9375 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2022, allocations: 82.48 kB / 0.9375 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2022, allocations: 0 / 0.9375 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002168/0.2024, allocations: 121.5 kB / 0.9376 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2024, allocations: 7.906 kB / 0.9377 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2025, allocations: 0 / 0.9377 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2025, allocations: 7.938 kB / 0.9377 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.2026, allocations: 15.92 kB / 0.9377 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2026, allocations: 0 / 0.9377 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.2027, allocations: 12 kB / 0.9377 GB, free: 18.67 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.2027, allocations: 7.984 kB / 0.9377 GB, free: 18.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.152e-05/0.2028, allocations: 127.8 kB / 0.9378 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.2028, allocations: 7.906 kB / 0.9378 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.2028, allocations: 8.375 kB / 0.9378 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2028, allocations: 0 / 0.9378 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2028, allocations: 0 / 0.9378 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2028, allocations: 0 / 0.9378 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.2032, allocations: 398.2 kB / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2032, allocations: 0 / 0.9382 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.2033, allocations: 7.984 kB / 0.9382 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2033, allocations: 0 / 0.9382 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2033, allocations: 4 kB / 0.9382 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2033, allocations: 4 kB / 0.9382 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2033, allocations: 3.938 kB / 0.9382 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.2035, allocations: 219.4 kB / 0.9384 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.2036, allocations: 81.02 kB / 0.9385 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.2036, allocations: 0 / 0.9385 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.2037, allocations: 8 kB / 0.9385 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.2037, allocations: 15.91 kB / 0.9385 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.2038, allocations: 4 kB / 0.9385 GB, free: 17.69 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.2038, allocations: 99.42 kB / 0.9386 GB, free: 17.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2038, allocations: 0 / 0.9386 GB, free: 17.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002743/0.2041, allocations: 39.98 kB / 0.9387 GB, free: 17.55 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.0002919/0.2044, allocations: 169 kB / 0.9388 GB, free: 17.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.2046, allocations: 79.89 kB / 0.9389 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2046, allocations: 0 / 0.9389 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.2047, allocations: 44.11 kB / 0.939 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.205, allocations: 11.94 kB / 0.939 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.2053, allocations: 219.2 kB / 0.9392 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.929e-05/0.2054, allocations: 0.6926 MB / 0.9399 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.2054, allocations: 4 kB / 0.9399 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.2055, allocations: 11.44 kB / 0.9399 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of SimCode: time 2.1e-07/0.2055, allocations: 0 / 0.9399 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of Templates: time 0.003472/0.209, allocations: 1.357 MB / 0.9412 GB, free: 14.93 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)