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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001464/0.001464, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 191 kB / 16.14 MB, free: 6.719 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437 MB / 0.71 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5677/0.5693, allocations: 151.6 MB / 1.017 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003142/0.5725, allocations: 2.25 MB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.5743, allocations: 1.359 MB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.5745, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.5749, allocations: 175.3 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.5752, allocations: 111.5 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.5755, allocations: 127.8 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.5757, allocations: 223.1 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.925e-05/0.5758, allocations: 42.62 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.576, allocations: 79.58 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.5761, allocations: 107.4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.5761, allocations: 8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.5762, allocations: 43.95 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.5763, allocations: 83.69 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.5764, allocations: 130.9 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.5767, allocations: 346.6 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.5767, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5768, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5768, allocations: 0 / 1.022 GB, free: 13.81 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.000836/0.5776, allocations: 0.6803 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.5776, allocations: 8.031 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.5777, allocations: 30.75 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.5778, allocations: 48.36 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.5782, allocations: 356.2 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.5782, allocations: 8.125 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.5782, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.5784, allocations: 73.66 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.5784, allocations: 3.984 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.5784, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.5785, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.5786, allocations: 35.97 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.5793, allocations: 468.4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.5795, allocations: 70.61 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.5796, allocations: 28.84 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.5796, allocations: 0 / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.5797, allocations: 75.38 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.5798, allocations: 0 / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003182/0.5801, allocations: 153.2 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.5801, allocations: 63.27 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.5806, allocations: 0.5294 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.5807, allocations: 25.7 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.5808, allocations: 216 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.5808, allocations: 15.8 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.5809, allocations: 41.7 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.581, allocations: 354.8 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.893e-05/0.5812, allocations: 55.97 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.5813, allocations: 76.58 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.5814, allocations: 85.5 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5814, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002862/0.5817, allocations: 198.2 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.5817, allocations: 8 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.5818, allocations: 4.062 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.5818, allocations: 3.938 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.5819, allocations: 27.92 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5819, allocations: 0 / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.582, allocations: 19.83 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.582, allocations: 8 kB / 1.025 GB, free: 9.832 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.0001606/0.5822, allocations: 177.1 kB / 1.025 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.5823, allocations: 39.53 kB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.5823, allocations: 51.8 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5823, allocations: 3.938 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5823, allocations: 0 / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.5824, allocations: 0 / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.5826, allocations: 305.5 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5826, allocations: 3.938 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.5826, allocations: 7.938 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5826, allocations: 0 / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5826, allocations: 3.984 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5827, allocations: 3.938 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5827, allocations: 4 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.5829, allocations: 144.6 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.583, allocations: 112.5 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.583, allocations: 4 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.5831, allocations: 16.05 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.5831, allocations: 7.984 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.5832, allocations: 11.98 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003522/0.5835, allocations: 366.8 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5835, allocations: 0 / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002486/0.5838, allocations: 43.98 kB / 1.027 GB, free: 8.461 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.001251/0.585, allocations: 0.9882 MB / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.5853, allocations: 99.89 kB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5853, allocations: 3.938 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.5854, allocations: 27.98 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.5857, allocations: 65.5 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.5891, allocations: 3.179 MB / 1.031 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5894, allocations: 0.8153 MB / 1.032 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.273e-05/0.5895, allocations: 17.55 kB / 1.032 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.5897, allocations: 119.3 kB / 1.032 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5897, allocations: 4 kB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2378/0.8275, allocations: 6.885 MB / 1.038 GB, free: 12.5 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/0.8278, allocations: 262.4 kB / 1.039 GB, free: 12.17 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.615, allocations: 7.938 kB / 1.039 GB, free: 12.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 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.mat","/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