Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.958/1.958, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001131/0.001131, allocations: 175.5 kB / 393.1 MB, free: 4.07 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.614/1.614, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.0008398, allocations: 97.02 kB / 0.7935 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.000394, allocations: 8 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.63/0.6304, allocations: 121.3 MB / 1.041 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002433/0.6329, allocations: 1.852 MB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.6347, allocations: 1.421 MB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.6348, allocations: 5.719 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005378/0.6354, allocations: 186.6 kB / 1.044 GB, free: 55.4 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.6356, allocations: 112.9 kB / 1.044 GB, free: 55.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.6359, allocations: 113.8 kB / 1.044 GB, free: 55.29 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.6362, allocations: 220.8 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.6363, allocations: 42.23 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.6364, allocations: 93.7 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.6366, allocations: 92.91 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.6366, allocations: 4.812 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.6367, allocations: 38.59 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.6368, allocations: 89.42 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.6369, allocations: 156.3 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.6373, allocations: 336.5 kB / 1.045 GB, free: 54.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6373, allocations: 0 / 1.045 GB, free: 54.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6373, allocations: 0 / 1.045 GB, free: 54.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.6373, allocations: 0 / 1.045 GB, free: 54.81 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.0007369/0.638, allocations: 0.6266 MB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.6381, allocations: 8.125 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.6381, allocations: 45.19 kB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.6385, allocations: 355.8 kB / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.6385, allocations: 6.594 kB / 1.047 GB, free: 53.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.6385, allocations: 10.19 kB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.6387, allocations: 77.34 kB / 1.047 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.6387, allocations: 0.9375 kB / 1.047 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.6387, allocations: 2.922 kB / 1.047 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6387, allocations: 0.7188 kB / 1.047 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.6388, allocations: 41.83 kB / 1.047 GB, free: 53.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.6394, allocations: 457.9 kB / 1.047 GB, free: 53.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.6396, allocations: 71.44 kB / 1.047 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/0.6397, allocations: 24.05 kB / 1.047 GB, free: 53.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.6397, allocations: 3.219 kB / 1.047 GB, free: 53.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.6399, allocations: 71.98 kB / 1.047 GB, free: 53.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.6399, allocations: 1.625 kB / 1.047 GB, free: 53.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0002987/0.6402, allocations: 148.5 kB / 1.047 GB, free: 53.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.6402, allocations: 55.34 kB / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.6407, allocations: 0.5339 MB / 1.048 GB, free: 53.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.6408, allocations: 32.45 kB / 1.048 GB, free: 52.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.6409, allocations: 216.6 kB / 1.048 GB, free: 52.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.6409, allocations: 18.44 kB / 1.048 GB, free: 52.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.6409, allocations: 4 kB / 1.048 GB, free: 52.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.641, allocations: 354.7 kB / 1.049 GB, free: 52.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.6411, allocations: 49.47 kB / 1.049 GB, free: 52.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.716e-05/0.6412, allocations: 80.8 kB / 1.049 GB, free: 52.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.6414, allocations: 90.62 kB / 1.049 GB, free: 52.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6414, allocations: 1.266 kB / 1.049 GB, free: 52.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002541/0.6416, allocations: 188.2 kB / 1.049 GB, free: 52.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.6416, allocations: 3.984 kB / 1.049 GB, free: 52.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6417, allocations: 0.9688 kB / 1.049 GB, free: 52.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6417, allocations: 1.156 kB / 1.049 GB, free: 52.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.6418, allocations: 31.34 kB / 1.049 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6418, allocations: 4.109 kB / 1.049 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.6419, allocations: 32.5 kB / 1.049 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.642, allocations: 5.578 kB / 1.049 GB, free: 52.23 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.0001388/0.6421, allocations: 180.8 kB / 1.049 GB, free: 52.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.6421, allocations: 38.75 kB / 1.049 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.065e-05/0.6422, allocations: 45.12 kB / 1.049 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6422, allocations: 11.88 kB / 1.049 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6422, allocations: 0 / 1.049 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6422, allocations: 0 / 1.049 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.6424, allocations: 299.9 kB / 1.05 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6425, allocations: 3.75 kB / 1.05 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.6425, allocations: 0.7812 kB / 1.05 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.6425, allocations: 0 / 1.05 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.6425, allocations: 6.844 kB / 1.05 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6425, allocations: 3.938 kB / 1.05 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6425, allocations: 0 / 1.05 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.6427, allocations: 149.9 kB / 1.05 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.6428, allocations: 112.3 kB / 1.05 GB, free: 51.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.6428, allocations: 7.5 kB / 1.05 GB, free: 51.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.6429, allocations: 12.17 kB / 1.05 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.643, allocations: 8.5 kB / 1.05 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.643, allocations: 8.438 kB / 1.05 GB, free: 51.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003267/0.6433, allocations: 363.1 kB / 1.05 GB, free: 51.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.6433, allocations: 4 kB / 1.05 GB, free: 51.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002369/0.6436, allocations: 45.72 kB / 1.05 GB, free: 51.4 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.0008787/0.6444, allocations: 494.1 kB / 1.051 GB, free: 51.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.6447, allocations: 94.62 kB / 1.051 GB, free: 51.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6447, allocations: 4 kB / 1.051 GB, free: 51.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.6448, allocations: 22.67 kB / 1.051 GB, free: 51.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.6451, allocations: 55.11 kB / 1.051 GB, free: 51.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/0.6459, allocations: 0.7498 MB / 1.052 GB, free: 50.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.6462, allocations: 0.8123 MB / 1.052 GB, free: 49.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.287e-05/0.6463, allocations: 31.78 kB / 1.052 GB, free: 49.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.6463, allocations: 21.94 kB / 1.052 GB, free: 49.93 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.6463, allocations: 0 / 1.052 GB, free: 49.93 MB / 0.698 GB Notification: Performance of Templates: time 0.006279/0.6526, allocations: 2.691 MB / 1.055 GB, free: 49.7 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)