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.00132/0.00132, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001476/0.001476, allocations: 214 kB / 22.25 MB, free: 5.086 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 8.012 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.27/3.27, allocations: 0.505 GB / 0.8101 GB, free: 22.09 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.002066/0.002066, allocations: 70.08 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3225, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004117/0.3266, allocations: 2.226 MB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.3292, allocations: 1.552 MB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.3293, allocations: 3.938 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.3299, allocations: 191.1 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004088/0.3303, allocations: 171.2 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.3306, allocations: 115.6 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.3309, allocations: 243.1 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3311, allocations: 32.52 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.3313, allocations: 99.56 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3314, allocations: 107.5 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.3315, allocations: 12 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3316, allocations: 59.97 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3317, allocations: 87.62 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3319, allocations: 150.8 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.3323, allocations: 362.2 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3323, allocations: 3.984 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3323, allocations: 0 / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.3323, allocations: 0 / 1.358 GB, free: 3.066 MB / 1.045 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.0009612/0.3333, allocations: 0.6203 MB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3333, allocations: 12.03 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.3334, allocations: 34.69 kB / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.3335, allocations: 48.61 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.3339, allocations: 310.8 kB / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.3339, allocations: 4.125 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3339, allocations: 12 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3341, allocations: 69.66 kB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3341, allocations: 3.938 kB / 1.359 GB, free: 1.887 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3341, allocations: 0 / 1.359 GB, free: 1.887 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3341, allocations: 4 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3342, allocations: 35.92 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/0.3349, allocations: 431.7 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.3351, allocations: 70.61 kB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.3352, allocations: 20.86 kB / 1.36 GB, free: 1.281 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.3352, allocations: 7.984 kB / 1.36 GB, free: 1.273 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.3354, allocations: 75.39 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3354, allocations: 0 / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0003435/0.3357, allocations: 153.2 kB / 1.36 GB, free: 1.031 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.3357, allocations: 51.41 kB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/0.3364, allocations: 0.5456 MB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3364, allocations: 33.81 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.3366, allocations: 228 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.3366, allocations: 19.89 kB / 1.361 GB, free: 128 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.3367, allocations: 37.7 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.3369, allocations: 354.8 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.337, allocations: 51.97 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.3371, allocations: 74.55 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3373, allocations: 95.58 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3373, allocations: 0 / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003289/0.3376, allocations: 197.4 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3376, allocations: 4 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3376, allocations: 0 / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3376, allocations: 3.938 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3377, allocations: 27.92 kB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3378, allocations: 0 / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.3379, allocations: 23.91 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.3379, allocations: 8 kB / 1.362 GB, free: 15.23 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.0001814/0.3381, allocations: 181.7 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.3381, allocations: 43.72 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.3384, allocations: 133.5 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3384, allocations: 3.938 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3384, allocations: 3.984 kB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3384, allocations: 4 kB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.3387, allocations: 280.5 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3387, allocations: 0 / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.3387, allocations: 4 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3387, allocations: 0 / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.3387, allocations: 320 / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3387, allocations: 3.938 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3387, allocations: 7.938 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.339, allocations: 152.8 kB / 1.362 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.339, allocations: 51.7 kB / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.3391, allocations: 0 / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.3392, allocations: 7.938 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.3392, allocations: 15.97 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3392, allocations: 4 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004072/0.3396, allocations: 362.8 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3396, allocations: 3.938 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002749/0.3399, allocations: 47.92 kB / 1.363 GB, free: 13.87 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 (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.002015/0.3419, allocations: 1.01 MB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.3422, allocations: 87.95 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3422, allocations: 0 / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.3422, allocations: 19.94 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.3426, allocations: 64.03 kB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.3464, allocations: 3.107 MB / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.3469, allocations: 0.8151 MB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.347, allocations: 41.38 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.3472, allocations: 111.4 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of SimCode: time 8.92e-07/0.3472, allocations: 0 / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/0.3814, allocations: 7.521 MB / 1.375 GB, free: 1.203 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.7, allocations: 5.547 kB / 1.375 GB, free: 1.203 MB / 1.061 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: 18.630216517999997]