Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 469.4 MB / 0.742 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 64.44 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2653, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003494/0.2688, allocations: 2.173 MB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.2708, allocations: 1.373 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.271, allocations: 3.938 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.2716, allocations: 187.6 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.2719, allocations: 127.4 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.2723, allocations: 146.5 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.2725, allocations: 227.1 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2727, allocations: 48.59 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.2728, allocations: 95.5 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.273, allocations: 103.5 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.273, allocations: 8 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.2732, allocations: 55.92 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.741e-05/0.2733, allocations: 95.66 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.2734, allocations: 131 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.2738, allocations: 346.7 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2738, allocations: 0 / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2738, allocations: 0 / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2738, allocations: 0 / 1.069 GB, free: 9.379 MB / 0.8262 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.0008461/0.2746, allocations: 0.6841 MB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2747, allocations: 8.031 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.2747, allocations: 34.75 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.2748, allocations: 48.38 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.2752, allocations: 352.3 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.2752, allocations: 12.12 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.2753, allocations: 7.938 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.2755, allocations: 77.59 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2755, allocations: 0 / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2755, allocations: 4 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2755, allocations: 0 / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2756, allocations: 35.98 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006883/0.2763, allocations: 460.5 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.2765, allocations: 70.61 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.2766, allocations: 32.95 kB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.2766, allocations: 3.938 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.2768, allocations: 71.39 kB / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.2768, allocations: 0 / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003267/0.2771, allocations: 149 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.2772, allocations: 55.41 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.2777, allocations: 0.5294 MB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.2778, allocations: 33.7 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.2779, allocations: 223.9 kB / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.2779, allocations: 15.81 kB / 1.071 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/0.278, allocations: 37.7 kB / 1.071 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2781, allocations: 362.8 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.973e-05/0.2782, allocations: 43.98 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.2784, allocations: 78.45 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.2785, allocations: 94.61 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2785, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003017/0.2789, allocations: 194.3 kB / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2789, allocations: 5.719 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2789, allocations: 0 / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2789, allocations: 7.922 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.279, allocations: 27.98 kB / 1.072 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.279, allocations: 4.062 kB / 1.072 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.2792, allocations: 11.91 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2792, allocations: 7.984 kB / 1.072 GB, free: 5.398 MB / 0.8262 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.0001596/0.2794, allocations: 182.7 kB / 1.072 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.2794, allocations: 43.44 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.865e-05/0.2795, allocations: 47.8 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2795, allocations: 3.938 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2795, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2795, allocations: 4 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.2797, allocations: 293.5 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2797, allocations: 0 / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.2798, allocations: 8 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2798, allocations: 0 / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2798, allocations: 7.938 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2798, allocations: 4.188 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2798, allocations: 3.984 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.28, allocations: 160.4 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.2801, allocations: 120.6 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.2802, allocations: 0 / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.2803, allocations: 11.92 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.2803, allocations: 11.98 kB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.2803, allocations: 4 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003619/0.2807, allocations: 362.8 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2807, allocations: 0 / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002636/0.281, allocations: 44 kB / 1.074 GB, free: 4.016 MB / 0.8262 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 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * 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.001287/0.2823, allocations: 0.9997 MB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.2825, allocations: 95.91 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2825, allocations: 0 / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.826e-05/0.2826, allocations: 35.98 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.283, allocations: 56.48 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.2864, allocations: 3.107 MB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.2868, allocations: 0.8138 MB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.266e-05/0.2869, allocations: 29.52 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.287, allocations: 115.4 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.287, allocations: 0 / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.3113, allocations: 7.139 MB / 1.086 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/7.822, allocations: 7.875 kB / 1.086 GB, free: 7.801 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches