Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 107.6 kB / 18.95 MB, free: 2.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 213.1 kB / 22.24 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.346/3.346, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 63.56 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3218, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003748/0.3256, allocations: 2.14 MB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.3279, allocations: 1.432 MB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.328, allocations: 4 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.3286, allocations: 187.5 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.329, allocations: 171.2 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.3292, allocations: 111.7 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.3295, allocations: 239.1 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.3297, allocations: 28.58 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.3298, allocations: 107.4 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.33, allocations: 95.53 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.33, allocations: 12 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3301, allocations: 55.98 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.3303, allocations: 103.5 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.3304, allocations: 95.23 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.3308, allocations: 370.2 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3308, allocations: 0 / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3308, allocations: 0 / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3308, allocations: 3.938 kB / 1.368 GB, free: 8.859 MB / 1.061 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.0009677/0.3318, allocations: 0.6203 MB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3318, allocations: 12.03 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.3319, allocations: 46.72 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.332, allocations: 52.55 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.3324, allocations: 294.9 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.3324, allocations: 16.06 kB / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.3324, allocations: 7.984 kB / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3326, allocations: 107.3 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3327, allocations: 0 / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3327, allocations: 0 / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3327, allocations: 0 / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.3328, allocations: 35.98 kB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.3335, allocations: 419.7 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.3337, allocations: 66.67 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.3338, allocations: 20.84 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3338, allocations: 8 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.334, allocations: 97.03 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.334, allocations: 0 / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0003513/0.3343, allocations: 153.5 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3344, allocations: 55.41 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/0.335, allocations: 0.5496 MB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3351, allocations: 29.7 kB / 1.371 GB, free: 6.109 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3353, allocations: 224 kB / 1.371 GB, free: 5.887 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.3353, allocations: 19.89 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.3354, allocations: 41.7 kB / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3355, allocations: 358.8 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.3356, allocations: 56.03 kB / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.3358, allocations: 110.7 kB / 1.372 GB, free: 5.285 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.336, allocations: 88.97 kB / 1.372 GB, free: 5.195 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.336, allocations: 0 / 1.372 GB, free: 5.195 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000362/0.3364, allocations: 209.2 kB / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3364, allocations: 4.109 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3364, allocations: 7.938 kB / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3364, allocations: 3.938 kB / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3365, allocations: 19.98 kB / 1.372 GB, free: 4.949 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.3365, allocations: 4 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3366, allocations: 11.98 kB / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3366, allocations: 12.02 kB / 1.372 GB, free: 4.922 MB / 1.061 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 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * 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.0001905/0.3368, allocations: 182.8 kB / 1.372 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.3369, allocations: 51.66 kB / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.3372, allocations: 137.6 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3372, allocations: 3.938 kB / 1.372 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3372, allocations: 0 / 1.372 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3372, allocations: 0 / 1.372 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.3375, allocations: 264.6 kB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3375, allocations: 7.875 kB / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.888e-05/0.3375, allocations: 4 kB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3375, allocations: 4 kB / 1.373 GB, free: 4.223 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3375, allocations: 0 / 1.373 GB, free: 4.223 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.3375, allocations: 7.938 kB / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3375, allocations: 0 / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.3378, allocations: 164.8 kB / 1.373 GB, free: 4.035 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.177e-05/0.3379, allocations: 43.67 kB / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.3379, allocations: 4 kB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.338, allocations: 11.92 kB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.338, allocations: 11.98 kB / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.338, allocations: 0 / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004189/0.3385, allocations: 374.8 kB / 1.373 GB, free: 3.602 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3385, allocations: 0 / 1.373 GB, free: 3.602 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002633/0.3387, allocations: 51.88 kB / 1.373 GB, free: 3.551 MB / 1.061 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.002095/0.3408, allocations: 1.033 MB / 1.374 GB, free: 2.672 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.3411, allocations: 91.89 kB / 1.374 GB, free: 2.582 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3411, allocations: 0 / 1.374 GB, free: 2.582 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.3412, allocations: 31.98 kB / 1.374 GB, free: 2.551 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3415, allocations: 59.38 kB / 1.374 GB, free: 2.496 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.3454, allocations: 3.136 MB / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.3456, allocations: 216.4 kB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.083e-05/0.3457, allocations: 29.62 kB / 1.378 GB, free: 15.01 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.3459, allocations: 123.4 kB / 1.378 GB, free: 14.89 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.3459, allocations: 0 / 1.378 GB, free: 14.89 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.3836, allocations: 8.154 MB / 1.386 GB, free: 6.832 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.2, allocations: 3.25 kB / 1.386 GB, free: 6.832 MB / 1.076 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv --start-time 0 --stop-time 900 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable per.TWatMax in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable per.TWatMax from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! Error: Could not read variable assWatTem.assMes.u in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable assWatTem.assMes.u from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.098047631327063]