Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") 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.793/1.793, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.001001/0.001001, allocations: 174.1 kB / 382.3 MB, free: 14.83 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.422/1.422, allocations: 225.7 MB / 0.6617 GB, free: 7.227 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.000812/0.0008121, allocations: 97.42 kB / 0.7789 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 9.844 kB / 0.9058 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.654, allocations: 119.2 MB / 1.022 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002868/0.6569, allocations: 1.846 MB / 1.024 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.659, allocations: 1.42 MB / 1.025 GB, free: 55.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.6592, allocations: 2.312 kB / 1.025 GB, free: 55.7 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006571/0.6598, allocations: 187.2 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.6602, allocations: 113.5 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.6606, allocations: 128.3 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.6609, allocations: 213.1 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.661, allocations: 43.39 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.6612, allocations: 91.36 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.6613, allocations: 91.47 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.6614, allocations: 5 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.6615, allocations: 46.92 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.826e-05/0.6616, allocations: 80.3 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.6617, allocations: 157.8 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.662, allocations: 332.2 kB / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6621, allocations: 0 / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6621, allocations: 0 / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.6621, allocations: 0 / 1.027 GB, free: 55.04 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007595/0.6628, allocations: 0.6285 MB / 1.028 GB, free: 54.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.6629, allocations: 11.81 kB / 1.028 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.663, allocations: 45.56 kB / 1.028 GB, free: 54.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.6633, allocations: 354 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.6634, allocations: 7.188 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.6634, allocations: 8.469 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.6636, allocations: 76.91 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6636, allocations: 6.625 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.6636, allocations: 0.9375 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.6636, allocations: 5.875 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.6637, allocations: 36.14 kB / 1.028 GB, free: 54.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.6644, allocations: 457.8 kB / 1.028 GB, free: 53.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.6646, allocations: 74.77 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.6646, allocations: 22.06 kB / 1.029 GB, free: 53.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.6647, allocations: 0 / 1.029 GB, free: 53.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.6648, allocations: 80.53 kB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.6648, allocations: 0 / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.000313/0.6652, allocations: 142.8 kB / 1.029 GB, free: 53.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.6652, allocations: 65.38 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.6657, allocations: 0.5261 MB / 1.029 GB, free: 53.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.6657, allocations: 33.11 kB / 1.029 GB, free: 53.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.6659, allocations: 215.9 kB / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.6659, allocations: 21.8 kB / 1.03 GB, free: 53.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.6659, allocations: 4 kB / 1.03 GB, free: 53.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.666, allocations: 354.6 kB / 1.03 GB, free: 52.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.6661, allocations: 48.81 kB / 1.03 GB, free: 52.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.966e-05/0.6662, allocations: 75.72 kB / 1.03 GB, free: 52.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.6664, allocations: 93.33 kB / 1.03 GB, free: 52.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6664, allocations: 0 / 1.03 GB, free: 52.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002855/0.6667, allocations: 189.6 kB / 1.03 GB, free: 52.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6667, allocations: 5.062 kB / 1.03 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.6667, allocations: 4.5 kB / 1.03 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.6667, allocations: 1.281 kB / 1.03 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.6668, allocations: 26.59 kB / 1.03 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.6669, allocations: 1.75 kB / 1.03 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.667, allocations: 26.25 kB / 1.03 GB, free: 52.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.667, allocations: 3.875 kB / 1.03 GB, free: 52.47 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.000151/0.6672, allocations: 188.7 kB / 1.031 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.6672, allocations: 47.09 kB / 1.031 GB, free: 52.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.765e-05/0.6673, allocations: 40.25 kB / 1.031 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6673, allocations: 10.84 kB / 1.031 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6673, allocations: 0 / 1.031 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6673, allocations: 1.344 kB / 1.031 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.6676, allocations: 293.2 kB / 1.031 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6676, allocations: 4 kB / 1.031 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.6676, allocations: 6.969 kB / 1.031 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6676, allocations: 1.125 kB / 1.031 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.6676, allocations: 0 / 1.031 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6676, allocations: 4.922 kB / 1.031 GB, free: 52.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6676, allocations: 0 / 1.031 GB, free: 52.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.6678, allocations: 149 kB / 1.031 GB, free: 51.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.6679, allocations: 119 kB / 1.031 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.668, allocations: 9.812 kB / 1.031 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.6681, allocations: 11.02 kB / 1.031 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.6681, allocations: 9.438 kB / 1.031 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.6681, allocations: 9.219 kB / 1.031 GB, free: 51.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003293/0.6685, allocations: 359.1 kB / 1.032 GB, free: 51.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6685, allocations: 0 / 1.032 GB, free: 51.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000248/0.6687, allocations: 45.41 kB / 1.032 GB, free: 51.64 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009407/0.6697, allocations: 0.4894 MB / 1.032 GB, free: 51.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.6699, allocations: 96.98 kB / 1.032 GB, free: 51.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6699, allocations: 2.438 kB / 1.032 GB, free: 51.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.67, allocations: 22 kB / 1.032 GB, free: 51.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.6704, allocations: 53.14 kB / 1.032 GB, free: 51.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000909/0.6713, allocations: 0.7543 MB / 1.033 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.6716, allocations: 0.8108 MB / 1.034 GB, free: 50.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.521e-05/0.6717, allocations: 23.02 kB / 1.034 GB, free: 50.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.6717, allocations: 26.64 kB / 1.034 GB, free: 50.17 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.6717, allocations: 0 / 1.034 GB, free: 50.17 MB / 0.698 GB Notification: Performance of Templates: time 0.006478/0.6782, allocations: 2.679 MB / 1.036 GB, free: 49.96 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)