Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_11_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.005033/0.005033, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001296/0.001296, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.727/2.727, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 71.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7683, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003582/0.7719, allocations: 2.38 MB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.7741, allocations: 1.406 MB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.7742, allocations: 0 / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.7749, allocations: 206.9 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.775, allocations: 71.3 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.7754, allocations: 119.7 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000382/0.7758, allocations: 326.8 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.7759, allocations: 56.64 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.7761, allocations: 123.5 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.7764, allocations: 191.4 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.7765, allocations: 32 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.7767, allocations: 71.97 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.7768, allocations: 115.6 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.777, allocations: 183 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.7776, allocations: 493.8 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7776, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7776, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.7776, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 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.001368/0.779, allocations: 0.7158 MB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.7791, allocations: 8.031 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.7791, allocations: 54.73 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008779/0.78, allocations: 140.5 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.7805, allocations: 366.5 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.7806, allocations: 84.19 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.7807, allocations: 12.38 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007716/0.7815, allocations: 299.2 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.7815, allocations: 0 / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.7815, allocations: 4 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.7815, allocations: 4 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.7828, allocations: 416.4 kB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.7845, allocations: 0.8704 MB / 1.229 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007082/0.7852, allocations: 266.4 kB / 1.229 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/0.7858, allocations: 224.7 kB / 1.229 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/0.7859, allocations: 4 kB / 1.229 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.7859, allocations: 30.56 kB / 1.229 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.864e-06/0.7859, allocations: 0 / 1.229 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.001946/0.7879, allocations: 0.6477 MB / 1.23 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.7879, allocations: 63.33 kB / 1.23 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.7884, allocations: 421.7 kB / 1.23 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.7885, allocations: 37.64 kB / 1.23 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.7887, allocations: 180 kB / 1.23 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/0.7887, allocations: 59.48 kB / 1.23 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.7889, allocations: 37.69 kB / 1.231 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.7891, allocations: 350.8 kB / 1.231 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/0.7897, allocations: 199.8 kB / 1.231 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.7903, allocations: 227.3 kB / 1.231 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.7914, allocations: 374.7 kB / 1.232 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7914, allocations: 0 / 1.232 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001289/0.7927, allocations: 463.2 kB / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7927, allocations: 8 kB / 1.232 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7927, allocations: 0 / 1.232 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.7927, allocations: 0 / 1.232 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.7932, allocations: 71.8 kB / 1.232 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.7933, allocations: 0 / 1.232 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.7936, allocations: 43.84 kB / 1.232 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.7937, allocations: 11.98 kB / 1.232 GB, free: 5.449 MB / 0.9512 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.0002043/0.7939, allocations: 158.3 kB / 1.232 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/0.794, allocations: 39.77 kB / 1.232 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.7941, allocations: 43.53 kB / 1.232 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.7941, allocations: 3.938 kB / 1.232 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7941, allocations: 0 / 1.232 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7941, allocations: 4 kB / 1.232 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/0.7947, allocations: 478.8 kB / 1.233 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7947, allocations: 0 / 1.233 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.7951, allocations: 63.92 kB / 1.233 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.7951, allocations: 4.047 kB / 1.233 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.7952, allocations: 3.984 kB / 1.233 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.7952, allocations: 3.938 kB / 1.233 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7952, allocations: 0 / 1.233 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.7966, allocations: 0.5614 MB / 1.234 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.7967, allocations: 116.8 kB / 1.234 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.7968, allocations: 4 kB / 1.234 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.7971, allocations: 39.88 kB / 1.234 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.7973, allocations: 23.97 kB / 1.234 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.7973, allocations: 4 kB / 1.234 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003984/0.7977, allocations: 307.1 kB / 1.234 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7977, allocations: 4 kB / 1.234 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00034/0.7981, allocations: 67.95 kB / 1.234 GB, free: 3.453 MB / 0.9512 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.001794/0.7999, allocations: 1.101 MB / 1.235 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.8012, allocations: 435.6 kB / 1.236 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.8012, allocations: 0 / 1.236 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006104/0.8018, allocations: 233.7 kB / 1.236 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.8022, allocations: 49.48 kB / 1.236 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006976/0.8092, allocations: 4.144 MB / 1.24 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.8097, allocations: 0.787 MB / 1.241 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002807/0.81, allocations: 58.27 kB / 1.241 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.8102, allocations: 111.4 kB / 1.241 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of SimCode: time 4e-07/0.8102, allocations: 0 / 1.241 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.8417, allocations: 7.935 MB / 1.249 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/9.13, allocations: 6.438 kB / 1.249 GB, free: 4.688 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches