Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007726/0.0007726, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008146/0.0008146, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8588/0.8588, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.702/1.702, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.507e-06/3.507e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.212e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002939/0.002971, allocations: 2.288 MB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.00449, allocations: 1.343 MB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.004614, allocations: 4 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.00509, allocations: 194.8 kB / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.005194, allocations: 75.3 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.00552, allocations: 131.6 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.005809, allocations: 350.6 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.005912, allocations: 36.83 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.006134, allocations: 187.6 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.006335, allocations: 159.6 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.006373, allocations: 32 kB / 1.004 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.006478, allocations: 75.89 kB / 1.004 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.00657, allocations: 123.6 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.033e-05/0.006651, allocations: 115.7 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.00702, allocations: 0.5102 MB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.007022, allocations: 4 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.62e-07/0.007023, allocations: 0 / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.007028, allocations: 4 kB / 1.005 GB, free: 7.883 MB / 0.9636 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.0008886/0.007916, allocations: 0.6444 MB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.007956, allocations: 8.75 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.007998, allocations: 50.73 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.008552, allocations: 184.4 kB / 1.006 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.00888, allocations: 300 kB / 1.006 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.008996, allocations: 195 kB / 1.006 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.009023, allocations: 12.38 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.009465, allocations: 299.8 kB / 1.007 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.009473, allocations: 192 / 1.007 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.009495, allocations: 11.88 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.009501, allocations: 4 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/0.01011, allocations: 416.4 kB / 1.007 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009514/0.01107, allocations: 0.7462 MB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.01145, allocations: 258.4 kB / 1.008 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.01175, allocations: 206.8 kB / 1.008 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.01177, allocations: 3.938 kB / 1.008 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.01179, allocations: 34.56 kB / 1.008 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.01179, allocations: 0 / 1.008 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.001018/0.01281, allocations: 0.6535 MB / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.01284, allocations: 51.41 kB / 1.009 GB, free: 3.66 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.01314, allocations: 433.6 kB / 1.009 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.01317, allocations: 29.7 kB / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.01326, allocations: 188 kB / 1.01 GB, free: 3.004 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.0133, allocations: 59.47 kB / 1.01 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.01337, allocations: 37.7 kB / 1.01 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.01345, allocations: 350.7 kB / 1.01 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.01374, allocations: 195.9 kB / 1.01 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.01407, allocations: 322.1 kB / 1.011 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.0146, allocations: 362.5 kB / 1.011 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.0146, allocations: 8 kB / 1.011 GB, free: 1.652 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006413/0.01524, allocations: 465 kB / 1.011 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01525, allocations: 8 kB / 1.011 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01526, allocations: 3.984 kB / 1.011 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.01527, allocations: 4 kB / 1.011 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.01549, allocations: 59.88 kB / 1.011 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.0155, allocations: 0 / 1.011 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.01565, allocations: 51.77 kB / 1.012 GB, free: 1.066 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.01566, allocations: 4 kB / 1.012 GB, free: 1.062 MB / 0.9636 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.000124/0.01579, allocations: 161.8 kB / 1.012 GB, free: 0.8945 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.01583, allocations: 47.72 kB / 1.012 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.01587, allocations: 39.53 kB / 1.012 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01587, allocations: 4 kB / 1.012 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.01588, allocations: 3.984 kB / 1.012 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01588, allocations: 3.938 kB / 1.012 GB, free: 0.7969 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.01625, allocations: 378.3 kB / 1.012 GB, free: 392 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01625, allocations: 0 / 1.012 GB, free: 392 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.01643, allocations: 59.88 kB / 1.012 GB, free: 332 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01644, allocations: 0 / 1.012 GB, free: 332 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.01645, allocations: 15.98 kB / 1.012 GB, free: 316 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01645, allocations: 0 / 1.012 GB, free: 316 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01646, allocations: 0 / 1.012 GB, free: 316 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.01714, allocations: 0.5589 MB / 1.013 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.01718, allocations: 43.75 kB / 1.013 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.01721, allocations: 4 kB / 1.013 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.01736, allocations: 27.95 kB / 1.013 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.01743, allocations: 27.95 kB / 1.013 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.01745, allocations: 7.984 kB / 1.013 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002036/0.01765, allocations: 314.9 kB / 1.013 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.01765, allocations: 0 / 1.013 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002093/0.01786, allocations: 60 kB / 1.013 GB, free: 15.26 MB / 0.9792 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.0008465/0.01871, allocations: 1.1 MB / 1.014 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006446/0.01935, allocations: 423.7 kB / 1.015 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01936, allocations: 3.938 kB / 1.015 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.01966, allocations: 217.7 kB / 1.015 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.01996, allocations: 61.33 kB / 1.015 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.02408, allocations: 4.163 MB / 1.019 GB, free: 9.203 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.02426, allocations: 191.5 kB / 1.019 GB, free: 9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000151/0.02441, allocations: 58.27 kB / 1.019 GB, free: 8.945 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.02457, allocations: 108.5 kB / 1.019 GB, free: 8.836 MB / 0.9792 GB Notification: Performance of SimCode: time 5.61e-07/0.02457, allocations: 0 / 1.019 GB, free: 8.836 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.04339, allocations: 9.044 MB / 1.028 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/6.709, allocations: 9.5 kB / 1.028 GB, free: 15.98 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv --start-time 0 --stop-time 2600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.04 Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QLoa_flow from file Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! Error: Could not read variable equFit.QSou_flow in file Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QSou_flow from file Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.706660002470016]