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.001546/0.001546, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001725/0.001725, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.801 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.261/3.261, allocations: 0.4892 GB / 0.7943 GB, free: 35.32 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.002047/0.002047, allocations: 71.48 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3012, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003747/0.305, allocations: 2.147 MB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.3076, allocations: 1.432 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.3077, allocations: 7.938 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.3083, allocations: 183.1 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004223/0.3087, allocations: 175.1 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.309, allocations: 107.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.3093, allocations: 243.1 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3095, allocations: 24.58 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3096, allocations: 107.5 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.3098, allocations: 111.4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.3098, allocations: 8 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.31, allocations: 51.98 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.3101, allocations: 99.59 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.3102, allocations: 99.17 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.3107, allocations: 374.2 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3107, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3107, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.3107, allocations: 3.938 kB / 1.33 GB, free: 13.2 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.001124/0.3119, allocations: 0.6203 MB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3119, allocations: 11.97 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/0.312, allocations: 42.73 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.312, allocations: 44.66 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.3125, allocations: 294.9 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3125, allocations: 12.12 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.3126, allocations: 4 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.3128, allocations: 107.3 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3128, allocations: 4 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3128, allocations: 4 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3128, allocations: 4 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.3129, allocations: 39.92 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000776/0.3137, allocations: 411.7 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3139, allocations: 66.61 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.314, allocations: 24.86 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.314, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.3142, allocations: 113 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3142, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004436/0.3146, allocations: 157.2 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3147, allocations: 51.41 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/0.3155, allocations: 0.5379 MB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.3155, allocations: 33.7 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.3157, allocations: 224 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.3158, allocations: 15.89 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.3158, allocations: 41.66 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.316, allocations: 362.8 kB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3161, allocations: 51.98 kB / 1.333 GB, free: 9.746 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.3163, allocations: 104.2 kB / 1.333 GB, free: 9.629 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.3165, allocations: 92.03 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3165, allocations: 0 / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003523/0.3168, allocations: 201.4 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3169, allocations: 7.938 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3169, allocations: 3.938 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3169, allocations: 7.938 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.317, allocations: 23.92 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.317, allocations: 4.062 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.3171, allocations: 19.94 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.3172, allocations: 4 kB / 1.334 GB, free: 9.262 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.0001937/0.3173, allocations: 185.9 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.3174, allocations: 43.72 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.3177, allocations: 137.5 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3177, allocations: 7.938 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3177, allocations: 0 / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3177, allocations: 0 / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.318, allocations: 264.6 kB / 1.334 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.318, allocations: 256 / 1.334 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.318, allocations: 12 kB / 1.334 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.318, allocations: 3.984 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.318, allocations: 4 kB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.318, allocations: 3.938 kB / 1.334 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.318, allocations: 0 / 1.334 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.3183, allocations: 172.7 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.3184, allocations: 35.72 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.3184, allocations: 0 / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.3185, allocations: 19.92 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.3185, allocations: 7.984 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3186, allocations: 4 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004504/0.319, allocations: 374.8 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.319, allocations: 0 / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002675/0.3193, allocations: 43.94 kB / 1.335 GB, free: 7.895 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.002204/0.3215, allocations: 1.045 MB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.3217, allocations: 99.89 kB / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3217, allocations: 0 / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.3218, allocations: 27.98 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.3222, allocations: 61.55 kB / 1.336 GB, free: 6.824 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/0.3265, allocations: 3.125 MB / 1.339 GB, free: 3.605 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.3268, allocations: 212.4 kB / 1.339 GB, free: 3.379 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.3269, allocations: 25.62 kB / 1.339 GB, free: 3.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.327, allocations: 115.4 kB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.327, allocations: 0 / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.366, allocations: 8.158 MB / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.96, allocations: 9.953 kB / 1.348 GB, free: 11.18 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.814022311009467]