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.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.626/1.626, allocations: 291.7 MB / 306.8 MB, free: 7.758 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.0009393/0.0009393, allocations: 173.7 kB / 375.4 MB, free: 5.152 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.357/1.357, allocations: 225.7 MB / 0.6538 GB, free: 13.71 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.000787/0.000787, allocations: 95.52 kB / 0.7699 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.000379, allocations: 11.75 kB / 0.8956 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6646/0.665, allocations: 118.1 MB / 1.011 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001961/0.6671, allocations: 1.19 MB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.6683, allocations: 0.6661 MB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.6684, allocations: 0 / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.6684, allocations: 9.625 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.6685, allocations: 11.47 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.6691, allocations: 95.94 kB / 1.013 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.6692, allocations: 66.34 kB / 1.013 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.6693, allocations: 7.984 kB / 1.013 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.6694, allocations: 35.59 kB / 1.013 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.6695, allocations: 38.47 kB / 1.013 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.6695, allocations: 6.188 kB / 1.013 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.6697, allocations: 82.73 kB / 1.013 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.6698, allocations: 10.95 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.6698, allocations: 38.05 kB / 1.013 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.67, allocations: 100.9 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.67, allocations: 0 / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/0.67, allocations: 0 / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.67, allocations: 0 / 1.013 GB, free: 57.32 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.0005546/0.6706, allocations: 411.3 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6707, allocations: 10.16 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.6707, allocations: 11.47 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.6708, allocations: 175.8 kB / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.6709, allocations: 5.062 kB / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.6709, allocations: 7.375 kB / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.6711, allocations: 70.12 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.6711, allocations: 0 / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.6711, allocations: 7.312 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.6711, allocations: 0 / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.6713, allocations: 44.86 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.6718, allocations: 324.7 kB / 1.014 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.672, allocations: 52.28 kB / 1.014 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.058e-05/0.6721, allocations: 34.31 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.6721, allocations: 5.344 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.6724, allocations: 82.42 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.6724, allocations: 0 / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003842/0.6728, allocations: 147.5 kB / 1.015 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.6728, allocations: 58.09 kB / 1.015 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.6729, allocations: 120.5 kB / 1.015 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.6729, allocations: 26.33 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.6729, allocations: 95.12 kB / 1.015 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.673, allocations: 15.55 kB / 1.015 GB, free: 56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.673, allocations: 0.5625 kB / 1.015 GB, free: 56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.6731, allocations: 325.5 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.6731, allocations: 28.48 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-05/0.6732, allocations: 51.3 kB / 1.015 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.6734, allocations: 85.88 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6734, allocations: 1.094 kB / 1.015 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002097/0.6736, allocations: 118.8 kB / 1.015 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.6736, allocations: 6.688 kB / 1.015 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6737, allocations: 1.844 kB / 1.015 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.6737, allocations: 2.938 kB / 1.015 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.6738, allocations: 15.92 kB / 1.015 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.6738, allocations: 1.375 kB / 1.015 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.6739, allocations: 18.78 kB / 1.015 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.6739, allocations: 3.594 kB / 1.015 GB, free: 55.58 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 7.717e-05/0.674, allocations: 122.8 kB / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.674, allocations: 6.062 kB / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.674, allocations: 9.5 kB / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.674, allocations: 1.375 kB / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.674, allocations: 0 / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.674, allocations: 2.828 kB / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.6744, allocations: 392.4 kB / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6744, allocations: 0 / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.6745, allocations: 11.41 kB / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6745, allocations: 0 / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.6745, allocations: 0.875 kB / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.6745, allocations: 0 / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6745, allocations: 8.953 kB / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.6748, allocations: 217.8 kB / 1.016 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.6748, allocations: 84.92 kB / 1.016 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.6748, allocations: 2.219 kB / 1.016 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.6749, allocations: 8.812 kB / 1.016 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.675, allocations: 10.69 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.675, allocations: 6.875 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.675, allocations: 91.88 kB / 1.016 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.675, allocations: 3.594 kB / 1.016 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002675/0.6753, allocations: 39.5 kB / 1.016 GB, free: 54.83 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.0003443/0.6757, allocations: 179.9 kB / 1.017 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.6759, allocations: 72.52 kB / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6759, allocations: 0 / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.676, allocations: 40.98 kB / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.6763, allocations: 7.938 kB / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.6767, allocations: 219.9 kB / 1.017 GB, free: 54.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.6768, allocations: 0.6877 MB / 1.018 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.689e-05/0.6769, allocations: 5.812 kB / 1.018 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.6769, allocations: 13.23 kB / 1.018 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.6769, allocations: 0 / 1.018 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of Templates: time 0.003818/0.6807, allocations: 1.35 MB / 1.019 GB, free: 53.8 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)