Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 106.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.356/2.356, allocations: 443.5 MB / 0.7304 GB, free: 14 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 72.06 kB / 1.059 GB, free: 1.004 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2663, allocations: 160.7 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003256/0.2696, allocations: 2.218 MB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.2715, allocations: 1.393 MB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.2716, allocations: 0 / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005035/0.2721, allocations: 187.3 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.2724, allocations: 135.3 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.2727, allocations: 151.5 kB / 1.22 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.273, allocations: 227.1 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.2732, allocations: 28.39 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.2733, allocations: 107.5 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.2735, allocations: 95.53 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.2735, allocations: 12 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.2736, allocations: 47.98 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.2738, allocations: 103.5 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.2739, allocations: 131 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.2743, allocations: 358.2 kB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2743, allocations: 3.984 kB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2743, allocations: 3.938 kB / 1.221 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2743, allocations: 0 / 1.221 GB, free: 10.77 MB / 0.9669 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.0009332/0.2752, allocations: 0.6956 MB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2753, allocations: 8.031 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.567e-05/0.2753, allocations: 46.75 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.672e-05/0.2754, allocations: 44.66 kB / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.2758, allocations: 356.7 kB / 1.222 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2758, allocations: 8.125 kB / 1.222 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.2758, allocations: 8 kB / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.276, allocations: 77.53 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.276, allocations: 0 / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.276, allocations: 8 kB / 1.222 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.276, allocations: 0 / 1.222 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/0.2761, allocations: 35.98 kB / 1.222 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.2768, allocations: 460.5 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.277, allocations: 66.66 kB / 1.222 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.277, allocations: 28.84 kB / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.277, allocations: 0 / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.2772, allocations: 75.33 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.2772, allocations: 0 / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.000323/0.2775, allocations: 149.3 kB / 1.223 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.2775, allocations: 55.41 kB / 1.223 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/0.2781, allocations: 0.5293 MB / 1.223 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.2782, allocations: 37.7 kB / 1.223 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.2783, allocations: 220 kB / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.2783, allocations: 15.91 kB / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.2784, allocations: 37.7 kB / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2786, allocations: 362.8 kB / 1.224 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.2787, allocations: 43.98 kB / 1.224 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.2788, allocations: 76.02 kB / 1.224 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.279, allocations: 107.1 kB / 1.224 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.279, allocations: 0 / 1.224 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003073/0.2793, allocations: 193.3 kB / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2793, allocations: 4 kB / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2793, allocations: 0 / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2793, allocations: 3.938 kB / 1.224 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2794, allocations: 27.98 kB / 1.224 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2794, allocations: 32 / 1.224 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.2795, allocations: 19.89 kB / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.2796, allocations: 11.98 kB / 1.224 GB, free: 6.766 MB / 0.9669 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.0001671/0.2797, allocations: 177.7 kB / 1.224 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.2798, allocations: 43.72 kB / 1.224 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.28, allocations: 133.7 kB / 1.225 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.28, allocations: 3.938 kB / 1.225 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.28, allocations: 0 / 1.225 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.28, allocations: 4 kB / 1.225 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.2803, allocations: 297.5 kB / 1.225 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2803, allocations: 0 / 1.225 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.2803, allocations: 7.938 kB / 1.225 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2803, allocations: 0 / 1.225 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.2803, allocations: 4.109 kB / 1.225 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2803, allocations: 11.86 kB / 1.225 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2803, allocations: 0 / 1.225 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.2806, allocations: 156.8 kB / 1.225 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.2807, allocations: 112.8 kB / 1.225 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.2807, allocations: 0 / 1.225 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.2808, allocations: 15.92 kB / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.2808, allocations: 7.984 kB / 1.225 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2808, allocations: 4 kB / 1.225 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003857/0.2812, allocations: 362.8 kB / 1.226 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2812, allocations: 0 / 1.226 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002468/0.2815, allocations: 47.92 kB / 1.226 GB, free: 5.301 MB / 0.9669 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.001837/0.2833, allocations: 1.012 MB / 1.227 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.2835, allocations: 91.89 kB / 1.227 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2835, allocations: 0 / 1.227 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.955e-05/0.2836, allocations: 24.06 kB / 1.227 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2839, allocations: 59.39 kB / 1.227 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/0.2874, allocations: 3.069 MB / 1.23 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.2878, allocations: 0.8106 MB / 1.231 GB, free: 272 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.231e-05/0.2879, allocations: 33.61 kB / 1.231 GB, free: 240 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.288, allocations: 119.4 kB / 1.231 GB, free: 120 kB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.288, allocations: 0 / 1.231 GB, free: 120 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.3175, allocations: 7.269 MB / 1.238 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.947, allocations: 6.094 kB / 1.238 GB, free: 8.945 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable per.TWatMax from file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! Error: Could not read variable assWatTem.assMes.u in file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable assWatTem.assMes.u from file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.276986725002644]