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.001337/0.001337, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00164/0.00164, allocations: 220.1 kB / 22.26 MB, free: 5.125 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.961 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.194/3.194, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.00204/0.00204, allocations: 64.12 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003735/0.3256, allocations: 2.236 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.328, allocations: 1.556 MB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.3282, allocations: 3.938 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006819/0.3288, allocations: 183.1 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000517/0.3294, allocations: 175.2 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.3298, allocations: 111.6 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.3302, allocations: 243.1 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.3303, allocations: 24.58 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.3305, allocations: 115.5 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.3307, allocations: 103.5 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.3308, allocations: 12 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.331, allocations: 59.97 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.3311, allocations: 99.59 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3312, allocations: 130.9 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005497/0.3318, allocations: 374.2 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3318, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3318, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.056e-06/0.3318, allocations: 0 / 1.331 GB, free: 12.51 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.001096/0.3329, allocations: 0.6242 MB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3329, allocations: 8.031 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.333, allocations: 42.75 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.3331, allocations: 44.66 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.3335, allocations: 302.8 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3335, allocations: 8.125 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3336, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.3338, allocations: 77.66 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3338, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3338, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3338, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.3339, allocations: 43.97 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007178/0.3346, allocations: 427.6 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3348, allocations: 62.67 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.066e-05/0.3349, allocations: 28.89 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.3349, allocations: 11.88 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.3352, allocations: 79.39 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3352, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004028/0.3356, allocations: 149.3 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.3356, allocations: 51.41 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/0.3363, allocations: 0.5495 MB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3363, allocations: 33.7 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.3365, allocations: 216 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.3366, allocations: 19.88 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.3366, allocations: 45.66 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3368, allocations: 362.8 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3369, allocations: 47.89 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3371, allocations: 80.11 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.3372, allocations: 87.78 kB / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3372, allocations: 0 / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003399/0.3376, allocations: 197.3 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3376, allocations: 8 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3376, allocations: 3.984 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3376, allocations: 3.938 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.3377, allocations: 27.92 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3377, allocations: 4.031 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.3379, allocations: 24.12 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.3379, allocations: 4 kB / 1.335 GB, free: 8.668 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.0001916/0.3381, allocations: 186.3 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.3381, allocations: 43.72 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.3384, allocations: 133.5 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3384, allocations: 3.938 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3384, allocations: 0 / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3384, allocations: 4 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.3387, allocations: 272.6 kB / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3387, allocations: 0 / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.3387, allocations: 0 / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3387, allocations: 4 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3387, allocations: 0 / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.3387, allocations: 3.938 kB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3387, allocations: 0 / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.339, allocations: 164.7 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.3391, allocations: 39.66 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.3391, allocations: 4 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.3392, allocations: 15.92 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.3392, allocations: 7.984 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3392, allocations: 4 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003962/0.3396, allocations: 370.8 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3396, allocations: 0 / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002655/0.3399, allocations: 47.94 kB / 1.336 GB, free: 7.312 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 (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.002009/0.3419, allocations: 1.007 MB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.3422, allocations: 91.89 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3422, allocations: 0 / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.3423, allocations: 39.92 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3426, allocations: 55.31 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.3465, allocations: 3.094 MB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.347, allocations: 0.8217 MB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.3472, allocations: 33.59 kB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3473, allocations: 115.4 kB / 1.341 GB, free: 2.082 MB / 1.029 GB Notification: Performance of SimCode: time 8.01e-07/0.3473, allocations: 4 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.3829, allocations: 7.52 MB / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.76, allocations: 9.078 kB / 1.348 GB, free: 10.66 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.623470992000875]