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.001121/0.001121, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001164/0.001164, allocations: 198.6 kB / 16.26 MB, free: 6.633 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.365/2.365, allocations: 437.1 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 71.89 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.511, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003088/0.5142, allocations: 2.25 MB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.5158, allocations: 1.347 MB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.5159, allocations: 3.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.5164, allocations: 179.2 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.5166, allocations: 119.5 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.5169, allocations: 119.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.5172, allocations: 239.1 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.5173, allocations: 42.56 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.5174, allocations: 99.56 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.5175, allocations: 103.5 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.5175, allocations: 8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.5177, allocations: 55.95 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.5178, allocations: 99.55 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.5179, allocations: 131 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.5182, allocations: 350.6 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5182, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5182, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.5182, allocations: 0 / 1.022 GB, free: 13.55 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.0007512/0.5189, allocations: 0.6764 MB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.519, allocations: 8.031 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.519, allocations: 46.73 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.5191, allocations: 52.25 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.5194, allocations: 348.3 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.5195, allocations: 8.125 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.5195, allocations: 8 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.5196, allocations: 73.66 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.5197, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.5197, allocations: 11.98 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5197, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.184e-05/0.5198, allocations: 35.92 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.5203, allocations: 456.5 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.5205, allocations: 74.61 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.987e-05/0.5206, allocations: 24.86 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.5206, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.5208, allocations: 71.38 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 3.687e-06/0.5208, allocations: 4.094 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002954/0.5211, allocations: 160.9 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.5211, allocations: 55.41 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.5216, allocations: 0.5255 MB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.5216, allocations: 29.7 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.5217, allocations: 220 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.5218, allocations: 19.8 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.5218, allocations: 33.7 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.522, allocations: 366.7 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/0.522, allocations: 47.98 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.5222, allocations: 80.11 kB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.5223, allocations: 95.55 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5223, allocations: 0 / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002669/0.5226, allocations: 189.1 kB / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.5226, allocations: 4 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5226, allocations: 8.047 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5226, allocations: 7.938 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.5227, allocations: 19.94 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.5228, allocations: 0 / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.5229, allocations: 23.83 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.5229, allocations: 4 kB / 1.026 GB, free: 9.562 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.0001495/0.523, allocations: 182.3 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.5231, allocations: 39.53 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.277e-05/0.5232, allocations: 44.06 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.5232, allocations: 3.938 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.5232, allocations: 11.98 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5232, allocations: 0 / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.5234, allocations: 297.4 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5234, allocations: 0 / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/0.5234, allocations: 7.984 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5234, allocations: 4 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.5235, allocations: 0 / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5235, allocations: 3.938 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5235, allocations: 4 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.5237, allocations: 144.6 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.5238, allocations: 116.5 kB / 1.026 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.5238, allocations: 4 kB / 1.026 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.5239, allocations: 11.88 kB / 1.026 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.5239, allocations: 11.98 kB / 1.026 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.524, allocations: 3.984 kB / 1.026 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003266/0.5243, allocations: 366.8 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.523e-06/0.5243, allocations: 0 / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002362/0.5245, allocations: 47.94 kB / 1.027 GB, free: 8.191 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.001194/0.5257, allocations: 0.9987 MB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.526, allocations: 99.91 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.526, allocations: 0 / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.191e-05/0.526, allocations: 27.98 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.5264, allocations: 66.7 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.5294, allocations: 3.165 MB / 1.031 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.5297, allocations: 0.815 MB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.957e-05/0.5298, allocations: 25.66 kB / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.5299, allocations: 115.4 kB / 1.032 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.5299, allocations: 4 kB / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.139/1.669, allocations: 7.005 MB / 1.039 GB, free: 12.11 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003503/1.67, allocations: 266.9 kB / 1.039 GB, free: 11.78 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/3.917, allocations: 0 / 1.039 GB, free: 11.78 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