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.005009/0.005009, allocations: 99.64 kB / 15.73 MB, free: 6.016 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.001189/0.001189, allocations: 193 kB / 16.67 MB, free: 5.934 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.402/2.402, allocations: 437.1 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 68.11 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7288/0.7304, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003887/0.7343, allocations: 2.187 MB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.7365, allocations: 1.386 MB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.7367, allocations: 0 / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005953/0.7373, allocations: 179.3 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.7377, allocations: 139.3 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.7381, allocations: 141 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.7384, allocations: 227 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.7386, allocations: 44.39 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.7388, allocations: 99.56 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.7389, allocations: 99.48 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.739, allocations: 8 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.7391, allocations: 51.97 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.891e-05/0.7392, allocations: 91.67 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.7394, allocations: 142.8 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.7398, allocations: 358 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7398, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7398, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.7398, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 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.0009363/0.7408, allocations: 0.6956 MB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.7408, allocations: 8.922 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.7409, allocations: 38.75 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.741, allocations: 48.59 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.7414, allocations: 360.7 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.7414, allocations: 8.125 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.7414, allocations: 8 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.7416, allocations: 69.66 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.7416, allocations: 4 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.7417, allocations: 4 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.7417, allocations: 3.984 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.7418, allocations: 39.97 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.7424, allocations: 456.5 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.7426, allocations: 66.67 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.165e-05/0.7427, allocations: 28.78 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.7427, allocations: 4 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.7429, allocations: 79.38 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 3.066e-06/0.7429, allocations: 112 / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0003296/0.7433, allocations: 145.5 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.7433, allocations: 55.34 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.7439, allocations: 0.5372 MB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.7439, allocations: 29.7 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.7441, allocations: 224 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.7441, allocations: 15.89 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.7442, allocations: 41.7 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7443, allocations: 350.8 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.7444, allocations: 56.03 kB / 1.174 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.7446, allocations: 78.48 kB / 1.174 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.7447, allocations: 85.73 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7447, allocations: 0 / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003123/0.7451, allocations: 201.2 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.7451, allocations: 6.5 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7451, allocations: 0 / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7451, allocations: 3.938 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.7452, allocations: 27.92 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.7452, allocations: 0 / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.7454, allocations: 23.97 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.7454, allocations: 4 kB / 1.175 GB, free: 10.61 MB / 0.9044 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.0001691/0.7456, allocations: 178.5 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.7456, allocations: 43.72 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.455e-05/0.7457, allocations: 43.8 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7457, allocations: 3.938 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.7457, allocations: 0 / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7457, allocations: 0 / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.746, allocations: 305.4 kB / 1.175 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.746, allocations: 4 kB / 1.175 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.746, allocations: 7.938 kB / 1.175 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.746, allocations: 0 / 1.175 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.746, allocations: 7.984 kB / 1.175 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.746, allocations: 3.938 kB / 1.175 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.7461, allocations: 0 / 1.175 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.7463, allocations: 152.8 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.7464, allocations: 112.8 kB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.7464, allocations: 8 kB / 1.176 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.7465, allocations: 15.86 kB / 1.176 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.7466, allocations: 7.984 kB / 1.176 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.7466, allocations: 12.06 kB / 1.176 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003765/0.747, allocations: 362.8 kB / 1.176 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.747, allocations: 0 / 1.176 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002688/0.7473, allocations: 47.92 kB / 1.176 GB, free: 9.227 MB / 0.9044 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.001347/0.7486, allocations: 0.9954 MB / 1.177 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.7489, allocations: 95.89 kB / 1.177 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7489, allocations: 0 / 1.177 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-05/0.749, allocations: 27.98 kB / 1.177 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.7493, allocations: 65.91 kB / 1.177 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.7527, allocations: 3.084 MB / 1.18 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.7531, allocations: 0.8138 MB / 1.181 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.77e-05/0.7532, allocations: 33.52 kB / 1.181 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.7534, allocations: 111.4 kB / 1.181 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.7534, allocations: 0 / 1.181 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.777, allocations: 7.255 MB / 1.188 GB, free: 12.91 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.868, allocations: 18.17 kB / 1.188 GB, free: 12.9 MB / 0.92 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