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.001357/0.001357, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001688/0.001688, allocations: 212.3 kB / 22.24 MB, free: 5.262 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.781 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.879/2.879, allocations: 476 MB / 0.7699 GB, free: 4.75 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.003138/0.003138, allocations: 65.67 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3182, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.005214/0.3234, allocations: 2.142 MB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002945/0.3264, allocations: 1.443 MB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.3265, allocations: 4 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006764/0.3272, allocations: 179.1 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005429/0.3278, allocations: 171.2 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.3281, allocations: 115.7 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.3285, allocations: 243.1 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.3287, allocations: 32.56 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3289, allocations: 103.5 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.3291, allocations: 95.48 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.3291, allocations: 12 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.3293, allocations: 63.95 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.3294, allocations: 87.62 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3295, allocations: 103.2 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005021/0.33, allocations: 371.6 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3301, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3301, allocations: 11.88 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.3301, allocations: 0 / 1.288 GB, free: 7.234 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.001068/0.3311, allocations: 0.6242 MB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3312, allocations: 12.03 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.3312, allocations: 34.75 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.921e-05/0.3313, allocations: 44.66 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.3318, allocations: 298.9 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3318, allocations: 16.06 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.3318, allocations: 4 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.3321, allocations: 107.4 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3321, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3321, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.3321, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.3322, allocations: 43.91 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.333, allocations: 411.7 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.3332, allocations: 66.67 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.3332, allocations: 20.84 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3332, allocations: 12 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.3334, allocations: 101 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3334, allocations: 0 / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000373/0.3338, allocations: 161.3 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3338, allocations: 51.41 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006819/0.3345, allocations: 0.5457 MB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.3346, allocations: 29.7 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.3348, allocations: 220 kB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.3348, allocations: 19.89 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.3349, allocations: 45.66 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.3351, allocations: 362.8 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.3352, allocations: 51.89 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.3353, allocations: 109.9 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.3355, allocations: 85.69 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3355, allocations: 0 / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003597/0.3359, allocations: 207.2 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3359, allocations: 4 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3359, allocations: 4 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3359, allocations: 8 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.336, allocations: 19.98 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.336, allocations: 4 kB / 1.291 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.3362, allocations: 15.94 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.3362, allocations: 8 kB / 1.291 GB, free: 3.309 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.0002027/0.3364, allocations: 177.7 kB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.3365, allocations: 43.72 kB / 1.291 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.3368, allocations: 141.5 kB / 1.292 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3368, allocations: 3.938 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3368, allocations: 8.094 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3368, allocations: 3.938 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.3371, allocations: 268.5 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3371, allocations: 3.984 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.3371, allocations: 4 kB / 1.292 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3371, allocations: 3.984 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3371, allocations: 0 / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.3371, allocations: 7.938 kB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3371, allocations: 0 / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.3374, allocations: 156.8 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/0.3375, allocations: 47.7 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.3375, allocations: 4 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-05/0.3376, allocations: 7.938 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.3377, allocations: 15.97 kB / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.3377, allocations: 4.25 kB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004421/0.3381, allocations: 362.8 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3381, allocations: 3.938 kB / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002798/0.3384, allocations: 55.92 kB / 1.292 GB, free: 1.934 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 (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.002193/0.3406, allocations: 1.046 MB / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3408, allocations: 91.91 kB / 1.294 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3408, allocations: 0 / 1.294 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.3409, allocations: 27.98 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.3413, allocations: 58.2 kB / 1.294 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.3455, allocations: 3.123 MB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.3457, allocations: 216.4 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.3458, allocations: 29.78 kB / 1.297 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.346, allocations: 119.4 kB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/0.346, allocations: 0 / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04048/0.3865, allocations: 8.152 MB / 1.305 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.92, allocations: 9.547 kB / 1.305 GB, free: 5.242 MB / 0.9981 GB " [Timeout remaining time 287] (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.83623215695843]