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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 110.2 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7672 GB, free: 5.223 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.89 kB / 1.112 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7857, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004054/0.7898, allocations: 2.423 MB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002457/0.7923, allocations: 1.468 MB / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.7924, allocations: 7.938 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006346/0.7931, allocations: 202.8 kB / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.7933, allocations: 79.34 kB / 1.282 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.7937, allocations: 131.6 kB / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004831/0.7942, allocations: 342.7 kB / 1.283 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.7943, allocations: 30.56 kB / 1.283 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.7946, allocations: 147.5 kB / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.7949, allocations: 183.4 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.795, allocations: 32 kB / 1.283 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.7951, allocations: 75.95 kB / 1.283 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.7953, allocations: 123.6 kB / 1.283 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.7955, allocations: 175 kB / 1.284 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.796, allocations: 0.4903 MB / 1.284 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.796, allocations: 0 / 1.284 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.804e-06/0.796, allocations: 0 / 1.284 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.7961, allocations: 8 kB / 1.284 GB, free: 7.512 MB / 0.9825 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.001342/0.7974, allocations: 0.7236 MB / 1.285 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.7974, allocations: 8.031 kB / 1.285 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.874e-05/0.7975, allocations: 50.73 kB / 1.285 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.7987, allocations: 180.4 kB / 1.285 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.7992, allocations: 366.5 kB / 1.285 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.7993, allocations: 84.19 kB / 1.285 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.7994, allocations: 12.38 kB / 1.285 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/0.8002, allocations: 307.9 kB / 1.286 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.8002, allocations: 0 / 1.286 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.8002, allocations: 3.938 kB / 1.286 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.8002, allocations: 4 kB / 1.286 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.8015, allocations: 420.4 kB / 1.286 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.8032, allocations: 0.8667 MB / 1.287 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.804, allocations: 258.4 kB / 1.287 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.8046, allocations: 204.7 kB / 1.287 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.8046, allocations: 7.984 kB / 1.287 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.8046, allocations: 34.56 kB / 1.287 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.8046, allocations: 0 / 1.287 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001979/0.8066, allocations: 0.6561 MB / 1.288 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.8067, allocations: 59.34 kB / 1.288 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.8072, allocations: 421.6 kB / 1.289 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.8072, allocations: 33.7 kB / 1.289 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.8074, allocations: 187.9 kB / 1.289 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/0.8075, allocations: 59.48 kB / 1.289 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.8076, allocations: 37.69 kB / 1.289 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.8078, allocations: 350.8 kB / 1.289 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006019/0.8084, allocations: 195.8 kB / 1.289 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.809, allocations: 227.3 kB / 1.29 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.8101, allocations: 369.9 kB / 1.29 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8101, allocations: 3.938 kB / 1.29 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001339/0.8115, allocations: 473 kB / 1.29 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.8115, allocations: 9.875 kB / 1.29 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.8115, allocations: 0 / 1.29 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.8115, allocations: 4 kB / 1.29 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.812, allocations: 67.86 kB / 1.29 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.812, allocations: 0 / 1.29 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.8124, allocations: 31.95 kB / 1.29 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.8124, allocations: 11.98 kB / 1.29 GB, free: 0.625 MB / 0.9825 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.0002105/0.8126, allocations: 164.6 kB / 1.291 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.8127, allocations: 51.7 kB / 1.291 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.248e-05/0.8128, allocations: 43.62 kB / 1.291 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.8128, allocations: 7.938 kB / 1.291 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8128, allocations: 0 / 1.291 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.8128, allocations: 4 kB / 1.291 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.8135, allocations: 478.9 kB / 1.291 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.8135, allocations: 0 / 1.291 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004698/0.8139, allocations: 63.86 kB / 1.291 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.8139, allocations: 0 / 1.291 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.814, allocations: 8 kB / 1.291 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.814, allocations: 3.938 kB / 1.291 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.814, allocations: 4 kB / 1.291 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.8153, allocations: 0.5497 MB / 1.292 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.8155, allocations: 116.8 kB / 1.292 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/0.8155, allocations: 4 kB / 1.292 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.8159, allocations: 39.88 kB / 1.292 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.816, allocations: 27.91 kB / 1.292 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.816, allocations: 4 kB / 1.292 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003895/0.8164, allocations: 315.1 kB / 1.292 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8164, allocations: 0 / 1.292 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003519/0.8168, allocations: 64 kB / 1.292 GB, free: 14.61 MB / 0.9981 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.00177/0.8185, allocations: 1.1 MB / 1.293 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.8198, allocations: 427.6 kB / 1.294 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8198, allocations: 0 / 1.294 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.8205, allocations: 213.5 kB / 1.294 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.8209, allocations: 57.42 kB / 1.294 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007656/0.8286, allocations: 4.162 MB / 1.298 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.829, allocations: 0.7909 MB / 1.299 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002868/0.8293, allocations: 62.25 kB / 1.299 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.8296, allocations: 115.4 kB / 1.299 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/0.8296, allocations: 0 / 1.299 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.8651, allocations: 8.016 MB / 1.307 GB, free: 15.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.96/9.825, allocations: 5.375 kB / 1.307 GB, free: 15.76 MB / 1.014 GB " [Timeout remaining time 290] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable equFit.QLoa_flow in file Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QLoa_flow from file Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! Error: Could not read variable equFit.QSou_flow in file Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QSou_flow from file Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.83038351405412]