Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001489/0.001489, allocations: 109.5 kB / 16.45 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.001609/0.001609, 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.376/1.376, allocations: 230.6 MB / 252.8 MB, free: 9.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.997/2.997, allocations: 0.49 GB / 0.7916 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_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.001945/0.001945, allocations: 73.36 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2951, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.0036/0.2987, allocations: 2.415 MB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.3008, allocations: 1.472 MB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.3009, allocations: 7.938 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.3015, allocations: 198.9 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.3016, allocations: 79.34 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.302, allocations: 143.6 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.3023, allocations: 334.7 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3024, allocations: 29.02 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.3027, allocations: 147.5 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.3029, allocations: 183.4 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.303, allocations: 36 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.3031, allocations: 79.95 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.3033, allocations: 123.6 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.3034, allocations: 175 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.304, allocations: 0.4903 MB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.304, allocations: 4 kB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.304, allocations: 0 / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.304, allocations: 0 / 1.327 GB, free: 13.38 MB / 1.029 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.001243/0.3052, allocations: 0.7236 MB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3052, allocations: 11.98 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.575e-05/0.3053, allocations: 50.75 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.3064, allocations: 180.4 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.3069, allocations: 370.4 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.307, allocations: 84.19 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.307, allocations: 12.38 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/0.3078, allocations: 304.1 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3078, allocations: 7.938 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.3078, allocations: 0 / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3078, allocations: 7.938 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.309, allocations: 416.4 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.3106, allocations: 0.8704 MB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.3113, allocations: 250.4 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005582/0.3118, allocations: 212.7 kB / 1.33 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.3119, allocations: 0 / 1.33 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.3119, allocations: 30.56 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.3119, allocations: 4 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001858/0.3137, allocations: 0.6514 MB / 1.331 GB, free: 9.043 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.3138, allocations: 63.34 kB / 1.331 GB, free: 8.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004774/0.3143, allocations: 421.6 kB / 1.331 GB, free: 8.547 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.3143, allocations: 33.7 kB / 1.331 GB, free: 8.508 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.3145, allocations: 180 kB / 1.331 GB, free: 8.328 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.3145, allocations: 59.48 kB / 1.331 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.3146, allocations: 37.69 kB / 1.331 GB, free: 8.227 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3148, allocations: 350.8 kB / 1.332 GB, free: 7.875 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/0.3154, allocations: 199.8 kB / 1.332 GB, free: 7.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.3159, allocations: 235.2 kB / 1.332 GB, free: 7.438 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.317, allocations: 362.3 kB / 1.332 GB, free: 7.082 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.317, allocations: 0 / 1.332 GB, free: 7.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001259/0.3183, allocations: 474.8 kB / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3183, allocations: 8 kB / 1.333 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3183, allocations: 0 / 1.333 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3183, allocations: 0 / 1.333 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.3188, allocations: 67.86 kB / 1.333 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3188, allocations: 4 kB / 1.333 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.3191, allocations: 43.83 kB / 1.333 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3191, allocations: 8.047 kB / 1.333 GB, free: 6.484 MB / 1.029 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.0001881/0.3193, allocations: 165.8 kB / 1.333 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.3194, allocations: 39.75 kB / 1.333 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.534e-05/0.3195, allocations: 39.59 kB / 1.333 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3195, allocations: 7.938 kB / 1.333 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3195, allocations: 4 kB / 1.333 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3195, allocations: 3.984 kB / 1.333 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.3201, allocations: 475 kB / 1.334 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3201, allocations: 0 / 1.334 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.3205, allocations: 63.86 kB / 1.334 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3205, allocations: 0 / 1.334 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.3205, allocations: 3.984 kB / 1.334 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.3205, allocations: 7.938 kB / 1.334 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3205, allocations: 0 / 1.334 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3218, allocations: 0.5497 MB / 1.334 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3219, allocations: 128.7 kB / 1.334 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.322, allocations: 8 kB / 1.334 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.3223, allocations: 39.89 kB / 1.335 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.3224, allocations: 19.97 kB / 1.335 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.3224, allocations: 7.984 kB / 1.335 GB, free: 4.855 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003507/0.3228, allocations: 311.1 kB / 1.335 GB, free: 4.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3228, allocations: 4 kB / 1.335 GB, free: 4.551 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003344/0.3231, allocations: 60 kB / 1.335 GB, free: 4.492 MB / 1.029 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.001619/0.3247, allocations: 1.1 MB / 1.336 GB, free: 3.363 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.3259, allocations: 426 kB / 1.336 GB, free: 2.949 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3259, allocations: 0 / 1.336 GB, free: 2.949 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.3265, allocations: 223.8 kB / 1.337 GB, free: 2.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3269, allocations: 49.41 kB / 1.337 GB, free: 2.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007077/0.334, allocations: 4.15 MB / 1.341 GB, free: 14.45 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.3344, allocations: 0.8024 MB / 1.341 GB, free: 13.62 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000271/0.3347, allocations: 66.25 kB / 1.342 GB, free: 13.55 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.335, allocations: 111.3 kB / 1.342 GB, free: 13.44 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.335, allocations: 0 / 1.342 GB, free: 13.44 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.3692, allocations: 8.012 MB / 1.349 GB, free: 5.629 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.522, allocations: 15.36 kB / 1.349 GB, free: 5.617 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QLoa_flow from file Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! Error: Could not read variable equFit.QSou_flow in file Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QSou_flow from file Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.69007661496289]