Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001385/0.001385, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001483/0.001483, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.8 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_11_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.002089/0.002089, allocations: 64.91 kB / 1.117 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003874/0.3371, allocations: 2.242 MB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002424/0.3395, allocations: 1.556 MB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3397, allocations: 7.938 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.3403, allocations: 182.9 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.3406, allocations: 171.2 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3409, allocations: 123.6 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.3412, allocations: 239.1 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3414, allocations: 28.56 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.3416, allocations: 111.5 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.3417, allocations: 99.55 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.3417, allocations: 15.94 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.3419, allocations: 55.95 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.342, allocations: 95.61 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.3421, allocations: 138.9 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.3426, allocations: 366.3 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3426, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3426, allocations: 4 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3426, allocations: 4 kB / 1.289 GB, free: 6.168 MB / 0.9825 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.001002/0.3436, allocations: 0.6242 MB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3436, allocations: 8.031 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.3437, allocations: 34.75 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.3438, allocations: 48.66 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.3443, allocations: 298.8 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.3443, allocations: 16.12 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.3443, allocations: 4 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3445, allocations: 77.64 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3445, allocations: 0 / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3445, allocations: 4 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3445, allocations: 0 / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.3446, allocations: 43.91 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.3454, allocations: 431.6 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.3456, allocations: 62.67 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.3456, allocations: 24.84 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3457, allocations: 3.938 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.3458, allocations: 79.38 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3458, allocations: 3.938 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003729/0.3462, allocations: 149.3 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3462, allocations: 51.41 kB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.3469, allocations: 0.5457 MB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3469, allocations: 29.7 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.3471, allocations: 220 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.3471, allocations: 19.89 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.3472, allocations: 49.66 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3474, allocations: 358.8 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3475, allocations: 51.89 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3476, allocations: 74.55 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.3478, allocations: 93.02 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3478, allocations: 0 / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003535/0.3481, allocations: 197.3 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3481, allocations: 6.188 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3481, allocations: 256 / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3482, allocations: 11.92 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3483, allocations: 23.94 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3483, allocations: 4 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.3484, allocations: 19.88 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.3484, allocations: 4 kB / 1.292 GB, free: 2.336 MB / 0.9825 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.0001963/0.3486, allocations: 189.8 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.3487, allocations: 43.72 kB / 1.292 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.349, allocations: 133.5 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.349, allocations: 3.938 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.349, allocations: 0 / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.349, allocations: 0 / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.3492, allocations: 268.6 kB / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3492, allocations: 0 / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.3493, allocations: 4 kB / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3493, allocations: 4.109 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3493, allocations: 7.938 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3493, allocations: 3.938 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3493, allocations: 0 / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.3495, allocations: 156.8 kB / 1.293 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.3496, allocations: 35.72 kB / 1.293 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.3496, allocations: 4 kB / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.3497, allocations: 19.86 kB / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.3498, allocations: 11.97 kB / 1.293 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3498, allocations: 4 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004122/0.3502, allocations: 374.8 kB / 1.293 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3502, allocations: 0 / 1.293 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002738/0.3505, allocations: 47.88 kB / 1.293 GB, free: 0.9727 MB / 0.9825 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.002014/0.3525, allocations: 0.9949 MB / 1.294 GB, free: 108 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.3527, allocations: 87.91 kB / 1.295 GB, free: 20 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3527, allocations: 4 kB / 1.295 GB, free: 16 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3528, allocations: 28 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.3532, allocations: 61.89 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.3572, allocations: 3.101 MB / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.3576, allocations: 0.8185 MB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.889e-05/0.3577, allocations: 25.47 kB / 1.298 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.3579, allocations: 123.3 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of SimCode: time 1.123e-06/0.3579, allocations: 4 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.3941, allocations: 7.508 MB / 1.306 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.66, allocations: 22.61 kB / 1.306 GB, free: 4.332 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv --start-time 0 --stop-time 900 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable per.TWatMax from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! Error: Could not read variable assWatTem.assMes.u in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable assWatTem.assMes.u from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.522205836001376]