Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001742/0.001742, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001663/0.001663, allocations: 223.1 kB / 22.25 MB, free: 5.102 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.195/3.195, allocations: 0.49 GB / 0.7951 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_12_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.001993/0.001993, allocations: 64.39 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3333, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004283/0.3376, allocations: 2.157 MB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3402, allocations: 1.439 MB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.3403, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.3409, allocations: 175.1 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000503/0.3414, allocations: 175.2 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.3417, allocations: 115.6 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.3421, allocations: 251 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3422, allocations: 24.58 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.3424, allocations: 99.58 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.3426, allocations: 107.5 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.3426, allocations: 12 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.3428, allocations: 47.98 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.3429, allocations: 111.5 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.343, allocations: 95.17 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.3435, allocations: 378.2 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3435, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3435, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.3435, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 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.001004/0.3445, allocations: 0.6203 MB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3445, allocations: 12.03 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.3446, allocations: 34.75 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.306e-05/0.3447, allocations: 44.66 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.3451, allocations: 306.8 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.3452, allocations: 12.12 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.3452, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.3454, allocations: 103.3 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3454, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3454, allocations: 4 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3454, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3455, allocations: 39.97 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007557/0.3463, allocations: 411.7 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3465, allocations: 70.67 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.3466, allocations: 24.84 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.3466, allocations: 0 / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.3468, allocations: 109.1 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3468, allocations: 3.938 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003781/0.3472, allocations: 157.2 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3472, allocations: 55.41 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006411/0.3478, allocations: 0.534 MB / 1.333 GB, free: 9.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.3479, allocations: 37.81 kB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.3481, allocations: 227.9 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3481, allocations: 19.88 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.3482, allocations: 45.66 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3483, allocations: 354.8 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.3485, allocations: 51.97 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3486, allocations: 102.1 kB / 1.334 GB, free: 8.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3488, allocations: 89.64 kB / 1.334 GB, free: 8.656 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3488, allocations: 0 / 1.334 GB, free: 8.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003411/0.3491, allocations: 211.4 kB / 1.334 GB, free: 8.445 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3491, allocations: 7.984 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3491, allocations: 0 / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3492, allocations: 11.94 kB / 1.334 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3493, allocations: 19.98 kB / 1.334 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3493, allocations: 4 kB / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3494, allocations: 11.95 kB / 1.334 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3494, allocations: 4 kB / 1.334 GB, free: 8.387 MB / 1.029 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.0002007/0.3496, allocations: 194.3 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.3497, allocations: 43.72 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.35, allocations: 133.6 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.35, allocations: 11.92 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.35, allocations: 0 / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.35, allocations: 0 / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.3503, allocations: 260.6 kB / 1.335 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3503, allocations: 4 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.3503, allocations: 7.938 kB / 1.335 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3503, allocations: 0 / 1.335 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3503, allocations: 3.984 kB / 1.335 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3503, allocations: 7.938 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3503, allocations: 0 / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3506, allocations: 164.8 kB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.3507, allocations: 39.72 kB / 1.335 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.3507, allocations: 3.984 kB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.3508, allocations: 11.94 kB / 1.335 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.3508, allocations: 11.98 kB / 1.335 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.3508, allocations: 3.984 kB / 1.335 GB, free: 7.422 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004107/0.3513, allocations: 370.8 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3513, allocations: 3.938 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002724/0.3515, allocations: 51.92 kB / 1.336 GB, free: 7.008 MB / 1.029 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.00218/0.3537, allocations: 1.038 MB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.354, allocations: 91.89 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.354, allocations: 0 / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.179e-05/0.354, allocations: 27.98 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3544, allocations: 60.56 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.3583, allocations: 3.129 MB / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.3585, allocations: 216.4 kB / 1.34 GB, free: 2.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.59e-05/0.3586, allocations: 25.78 kB / 1.34 GB, free: 2.477 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.3588, allocations: 119.3 kB / 1.34 GB, free: 2.363 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.3588, allocations: 4 kB / 1.34 GB, free: 2.359 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.396, allocations: 8.191 MB / 1.348 GB, free: 10.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.67, allocations: 2.234 kB / 1.348 GB, free: 10.27 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable per.TWatMax from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! Error: Could not read variable assWatTem.assMes.u in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable assWatTem.assMes.u from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.506377662997693]