Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 297.4 MB / 312.6 MB, free: 2.926 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.001457/0.001457, allocations: 181.5 kB / 382.3 MB, free: 14.82 MB / 314.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.344/1.344, allocations: 225.7 MB / 0.6617 GB, free: 7.113 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.0008007/0.0008009, allocations: 96.3 kB / 0.7789 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 12 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6556/0.656, allocations: 119.2 MB / 1.022 GB, free: 58.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.00176/0.6578, allocations: 1.188 MB / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.659, allocations: 1 MB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.6591, allocations: 3.219 kB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.6591, allocations: 7.781 kB / 1.024 GB, free: 57.22 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.616e-05/0.6592, allocations: 8.109 kB / 1.024 GB, free: 57.22 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.6597, allocations: 107.6 kB / 1.025 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.721e-05/0.6598, allocations: 69.91 kB / 1.025 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.6599, allocations: 14.83 kB / 1.025 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.419e-05/0.66, allocations: 30.31 kB / 1.025 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.6601, allocations: 34.03 kB / 1.025 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.6601, allocations: 3.844 kB / 1.025 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.6602, allocations: 85.23 kB / 1.025 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.6603, allocations: 18.59 kB / 1.025 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.6603, allocations: 55.2 kB / 1.025 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.6606, allocations: 136.9 kB / 1.025 GB, free: 57.01 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6606, allocations: 1.438 kB / 1.025 GB, free: 57.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6606, allocations: 0 / 1.025 GB, free: 57.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.6606, allocations: 0 / 1.025 GB, free: 57.01 MB / 0.698 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.0004904/0.6611, allocations: 407.8 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6612, allocations: 9.875 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.6612, allocations: 9.031 kB / 1.025 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.767e-05/0.6613, allocations: 174.3 kB / 1.026 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.6613, allocations: 8.344 kB / 1.026 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.6613, allocations: 4.047 kB / 1.026 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.6615, allocations: 84.62 kB / 1.026 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6615, allocations: 0.875 kB / 1.026 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.6616, allocations: 1.438 kB / 1.026 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6616, allocations: 1.594 kB / 1.026 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.6617, allocations: 43.17 kB / 1.026 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.6623, allocations: 324.7 kB / 1.026 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.6624, allocations: 56.53 kB / 1.026 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.6625, allocations: 34.48 kB / 1.026 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.6625, allocations: 1.219 kB / 1.026 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.6627, allocations: 77.48 kB / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.6627, allocations: 0 / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003966/0.6631, allocations: 150.2 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.6632, allocations: 63.72 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.6633, allocations: 121 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.6633, allocations: 33.45 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.6633, allocations: 90.66 kB / 1.027 GB, free: 55.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.6633, allocations: 11.78 kB / 1.027 GB, free: 55.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.6633, allocations: 0 / 1.027 GB, free: 55.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.414e-05/0.6634, allocations: 325.7 kB / 1.027 GB, free: 55.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.6635, allocations: 29.62 kB / 1.027 GB, free: 55.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.6636, allocations: 51.98 kB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.6637, allocations: 87.27 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6637, allocations: 0 / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002039/0.664, allocations: 114.8 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.664, allocations: 5.438 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.664, allocations: 3.594 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.664, allocations: 7.312 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.6641, allocations: 16.33 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.6641, allocations: 0.6562 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.6642, allocations: 14.98 kB / 1.027 GB, free: 55.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.6642, allocations: 3.141 kB / 1.027 GB, free: 55.08 MB / 0.698 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.423e-05/0.6643, allocations: 125.4 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.6643, allocations: 7 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.6643, allocations: 12.59 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6643, allocations: 0 / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6643, allocations: 2.062 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6643, allocations: 0.5625 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.6647, allocations: 388.8 kB / 1.028 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6647, allocations: 0.5625 kB / 1.028 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.6648, allocations: 13.98 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.6648, allocations: 1.375 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6648, allocations: 2.734 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.6648, allocations: 0 / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6648, allocations: 3.938 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.6651, allocations: 218.7 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.6651, allocations: 84.47 kB / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.6652, allocations: 2.125 kB / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.6653, allocations: 5.344 kB / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.6653, allocations: 9.406 kB / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.6653, allocations: 5.922 kB / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.999e-05/0.6654, allocations: 94.44 kB / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6654, allocations: 0 / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003202/0.6657, allocations: 47.08 kB / 1.028 GB, free: 54.23 MB / 0.698 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.0004015/0.6661, allocations: 177.5 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.6664, allocations: 78.3 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6664, allocations: 4 kB / 1.028 GB, free: 54.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-05/0.6665, allocations: 40.39 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.6668, allocations: 7.625 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.6672, allocations: 220.5 kB / 1.029 GB, free: 53.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.6674, allocations: 0.6867 MB / 1.029 GB, free: 53.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.013e-05/0.6674, allocations: 7.812 kB / 1.029 GB, free: 53.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.6675, allocations: 10.22 kB / 1.029 GB, free: 53.22 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.6675, allocations: 0 / 1.029 GB, free: 53.22 MB / 0.698 GB Notification: Performance of Templates: time 0.004227/0.6717, allocations: 1.356 MB / 1.031 GB, free: 53.09 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)