Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",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.01026/0.01026, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00239/0.00239, allocations: 198.8 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 2.393/2.393, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 4.14/4.14, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003289/0.00329, allocations: 63.91 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4621, allocations: 151.6 MB / 1.166 GB, free: 7.383 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004394/0.4665, allocations: 2.377 MB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.4693, allocations: 1.399 MB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.4695, allocations: 4 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007066/0.4702, allocations: 210.7 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.4704, allocations: 71.34 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.4708, allocations: 123.7 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000455/0.4713, allocations: 330.8 kB / 1.171 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.4715, allocations: 48.72 kB / 1.171 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.4717, allocations: 131.5 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.472, allocations: 179.4 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.471e-05/0.4721, allocations: 31.98 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.4723, allocations: 71.95 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.4725, allocations: 115.7 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.4727, allocations: 175.1 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.4733, allocations: 0.4944 MB / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4733, allocations: 4 kB / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4733, allocations: 0 / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.4734, allocations: 4 kB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001763/0.4751, allocations: 0.7119 MB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4752, allocations: 12.03 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.719e-05/0.4753, allocations: 50.73 kB / 1.173 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009272/0.4762, allocations: 144.5 kB / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.4767, allocations: 358.6 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.4769, allocations: 84.19 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.4769, allocations: 12.38 kB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/0.4777, allocations: 304 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4778, allocations: 0 / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.4778, allocations: 4 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4778, allocations: 4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.479, allocations: 424.3 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.481, allocations: 0.8547 MB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/0.4817, allocations: 274.4 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.4823, allocations: 216.7 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.4824, allocations: 7.984 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.4824, allocations: 34.5 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 3.116e-06/0.4824, allocations: 4 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.002031/0.4845, allocations: 0.6458 MB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.4845, allocations: 59.34 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.4852, allocations: 425.6 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.4852, allocations: 33.64 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.4854, allocations: 184 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.815e-05/0.4855, allocations: 59.48 kB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.4857, allocations: 37.7 kB / 1.177 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003025/0.486, allocations: 350.8 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/0.4866, allocations: 199.8 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/0.4873, allocations: 232.7 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.4884, allocations: 370.7 kB / 1.178 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4884, allocations: 0 / 1.178 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001304/0.4897, allocations: 465.2 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4898, allocations: 7.938 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4898, allocations: 0 / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4898, allocations: 0 / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.4903, allocations: 71.86 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4903, allocations: 0 / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.4907, allocations: 43.84 kB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.4907, allocations: 7.984 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000234/0.491, allocations: 165.8 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.4911, allocations: 35.77 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.4911, allocations: 47.58 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.4912, allocations: 7.938 kB / 1.178 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4912, allocations: 0 / 1.178 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4912, allocations: 0 / 1.178 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.4918, allocations: 482.6 kB / 1.179 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4918, allocations: 0 / 1.179 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.4923, allocations: 59.98 kB / 1.179 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.4923, allocations: 3.984 kB / 1.179 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.4923, allocations: 3.984 kB / 1.179 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.4923, allocations: 11.94 kB / 1.179 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4923, allocations: 0 / 1.179 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.4937, allocations: 0.5519 MB / 1.18 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4938, allocations: 120.8 kB / 1.18 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.4938, allocations: 4 kB / 1.18 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.4942, allocations: 31.89 kB / 1.18 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.4943, allocations: 31.95 kB / 1.18 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.4943, allocations: 4 kB / 1.18 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004018/0.4948, allocations: 307.1 kB / 1.18 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4948, allocations: 7.938 kB / 1.18 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003499/0.4951, allocations: 67.95 kB / 1.18 GB, free: 8.75 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.002062/0.4972, allocations: 1.095 MB / 1.181 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.4986, allocations: 437.2 kB / 1.182 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4986, allocations: 0 / 1.182 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006269/0.4993, allocations: 235.8 kB / 1.182 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.4998, allocations: 53.42 kB / 1.182 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/0.5074, allocations: 4.12 MB / 1.186 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.5079, allocations: 0.7948 MB / 1.187 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003124/0.5082, allocations: 58.2 kB / 1.187 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.5085, allocations: 107.4 kB / 1.187 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of SimCode: time 1.052e-06/0.5085, allocations: 4 kB / 1.187 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04066/0.5492, allocations: 7.914 MB / 1.195 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/14.76, allocations: 19.88 kB / 1.195 GB, free: 9.992 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv --start-time 0 --stop-time 2600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.04 Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches