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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 108 kB / 15.6 MB, free: 132 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.001806/0.001806, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.523, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00346/0.5265, allocations: 2.187 MB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.5284, allocations: 1.382 MB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.5286, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005355/0.5291, allocations: 187.1 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.5294, allocations: 127.3 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.5298, allocations: 139.6 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.5301, allocations: 227.2 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.5303, allocations: 50.61 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.5304, allocations: 95.58 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.5306, allocations: 95.48 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.5306, allocations: 12 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.5308, allocations: 47.97 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.5309, allocations: 95.61 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.531, allocations: 130.9 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.5314, allocations: 362.6 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5314, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5314, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.5314, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 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.0008737/0.5323, allocations: 0.6647 MB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.5323, allocations: 12.03 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.5324, allocations: 34.75 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.5324, allocations: 44.38 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.5328, allocations: 368.1 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.5329, allocations: 4.125 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.5329, allocations: 8 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.533, allocations: 73.66 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5331, allocations: 0 / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5331, allocations: 4 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5331, allocations: 0 / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.5332, allocations: 35.98 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.5338, allocations: 464.4 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.534, allocations: 70.61 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.5341, allocations: 28.84 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.5341, allocations: 3.938 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.5343, allocations: 79.39 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.5343, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003242/0.5346, allocations: 145.2 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.5347, allocations: 59.28 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.5352, allocations: 0.5332 MB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.5352, allocations: 25.7 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.5354, allocations: 224 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.5354, allocations: 19.8 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.5355, allocations: 41.7 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5356, allocations: 354.8 kB / 1.026 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.5357, allocations: 47.98 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.5359, allocations: 76.58 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.536, allocations: 98.92 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.536, allocations: 0 / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002967/0.5363, allocations: 193 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5364, allocations: 4 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.5364, allocations: 0 / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5364, allocations: 7.938 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.5365, allocations: 23.92 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.5365, allocations: 4 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.5366, allocations: 19.88 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.5367, allocations: 7.984 kB / 1.026 GB, free: 9.32 MB / 0.7794 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.0001556/0.5368, allocations: 182.9 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.5369, allocations: 39.53 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.5369, allocations: 39.8 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.537, allocations: 7.938 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.537, allocations: 0 / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.537, allocations: 0 / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.5372, allocations: 297.5 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5372, allocations: 4 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.5372, allocations: 8.188 kB / 1.027 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5372, allocations: 0 / 1.027 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5373, allocations: 4 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5373, allocations: 3.938 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5373, allocations: 0 / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.5375, allocations: 148.5 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.5376, allocations: 116.5 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.5376, allocations: 12 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.5377, allocations: 11.92 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.5378, allocations: 11.92 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.5378, allocations: 0 / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003495/0.5381, allocations: 370.8 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5381, allocations: 0 / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000266/0.5384, allocations: 40 kB / 1.027 GB, free: 7.957 MB / 0.7794 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.00127/0.5397, allocations: 1.004 MB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.5399, allocations: 95.91 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5399, allocations: 0 / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.402e-05/0.54, allocations: 27.92 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.5404, allocations: 71 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.5436, allocations: 3.102 MB / 1.031 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.5439, allocations: 0.8177 MB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.13e-05/0.544, allocations: 25.53 kB / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.5441, allocations: 107.4 kB / 1.032 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.5442, allocations: 0 / 1.032 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.5674, allocations: 7.133 MB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.213/7.78, allocations: 25.39 kB / 1.039 GB, free: 11.77 MB / 0.795 GB (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 50 --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) 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) Reference file matches