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.001235/0.001235, allocations: 109.6 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.001345/0.001345, allocations: 216.2 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.391/1.391, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] 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 3.07/3.07, allocations: 0.505 GB / 0.8066 GB, free: 23.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.001929/0.001929, allocations: 64.58 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3272, allocations: 180.2 MB / 1.348 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003615/0.3308, allocations: 2.413 MB / 1.35 GB, free: 7.613 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.3328, allocations: 1.476 MB / 1.352 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3329, allocations: 7.938 kB / 1.352 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005431/0.3335, allocations: 198.9 kB / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.3336, allocations: 87.27 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.334, allocations: 131.7 kB / 1.352 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.3344, allocations: 342.6 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3345, allocations: 29.02 kB / 1.352 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.3348, allocations: 139.5 kB / 1.352 GB, free: 5.207 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.3351, allocations: 191.3 kB / 1.353 GB, free: 5.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.3351, allocations: 32 kB / 1.353 GB, free: 4.988 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.3353, allocations: 75.97 kB / 1.353 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.3354, allocations: 131.6 kB / 1.353 GB, free: 4.785 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.3356, allocations: 171.1 kB / 1.353 GB, free: 4.617 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.3362, allocations: 0.4942 MB / 1.354 GB, free: 4.121 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3362, allocations: 4 kB / 1.354 GB, free: 4.117 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3362, allocations: 0 / 1.354 GB, free: 4.117 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.984e-06/0.3362, allocations: 0 / 1.354 GB, free: 4.117 MB / 1.045 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.001394/0.3376, allocations: 0.7236 MB / 1.354 GB, free: 3.344 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3376, allocations: 11.98 kB / 1.354 GB, free: 3.332 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.631e-05/0.3377, allocations: 54.73 kB / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.3389, allocations: 176.5 kB / 1.354 GB, free: 3.098 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.3394, allocations: 370.4 kB / 1.355 GB, free: 2.703 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.3395, allocations: 84.19 kB / 1.355 GB, free: 2.609 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.3395, allocations: 12.38 kB / 1.355 GB, free: 2.598 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007789/0.3403, allocations: 303.2 kB / 1.355 GB, free: 2.297 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3403, allocations: 3.938 kB / 1.355 GB, free: 2.293 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.3403, allocations: 0 / 1.355 GB, free: 2.293 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3403, allocations: 4 kB / 1.355 GB, free: 2.289 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.3416, allocations: 420.3 kB / 1.356 GB, free: 1.879 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.3433, allocations: 0.8665 MB / 1.356 GB, free: 0.957 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006915/0.344, allocations: 258.4 kB / 1.357 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/0.3446, allocations: 208.7 kB / 1.357 GB, free: 500 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.3446, allocations: 0 / 1.357 GB, free: 500 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3447, allocations: 30.56 kB / 1.357 GB, free: 460 kB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.3447, allocations: 4 kB / 1.357 GB, free: 456 kB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.00191/0.3466, allocations: 0.6574 MB / 1.358 GB, free: 15.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.3466, allocations: 59.34 kB / 1.358 GB, free: 15.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005024/0.3471, allocations: 421.6 kB / 1.358 GB, free: 15.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.3472, allocations: 33.7 kB / 1.358 GB, free: 15.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.3473, allocations: 176.1 kB / 1.358 GB, free: 15.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.206e-05/0.3474, allocations: 63.44 kB / 1.358 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3475, allocations: 33.7 kB / 1.358 GB, free: 14.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3477, allocations: 350.8 kB / 1.359 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/0.3483, allocations: 199.8 kB / 1.359 GB, free: 14.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.3488, allocations: 235.2 kB / 1.359 GB, free: 14.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3499, allocations: 362.5 kB / 1.359 GB, free: 13.83 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3499, allocations: 0 / 1.359 GB, free: 13.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001233/0.3511, allocations: 470.7 kB / 1.36 GB, free: 13.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3512, allocations: 8 kB / 1.36 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3512, allocations: 0 / 1.36 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3512, allocations: 3.938 kB / 1.36 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.3516, allocations: 71.86 kB / 1.36 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3517, allocations: 0 / 1.36 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.352, allocations: 39.84 kB / 1.36 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.352, allocations: 11.98 kB / 1.36 GB, free: 13.23 MB / 1.061 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.0001991/0.3522, allocations: 161.8 kB / 1.36 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.3523, allocations: 39.75 kB / 1.36 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.24e-05/0.3524, allocations: 43.59 kB / 1.36 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.3524, allocations: 3.938 kB / 1.36 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3524, allocations: 8 kB / 1.36 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3524, allocations: 0 / 1.36 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.353, allocations: 483 kB / 1.361 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.353, allocations: 0 / 1.361 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.3534, allocations: 63.86 kB / 1.361 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3534, allocations: 0 / 1.361 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.3534, allocations: 0 / 1.361 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.3534, allocations: 11.94 kB / 1.361 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3534, allocations: 0 / 1.361 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.3547, allocations: 0.5594 MB / 1.361 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3548, allocations: 116.8 kB / 1.361 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.3549, allocations: 7.938 kB / 1.361 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.3552, allocations: 43.88 kB / 1.361 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.3553, allocations: 19.97 kB / 1.361 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.3554, allocations: 4 kB / 1.361 GB, free: 11.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003443/0.3557, allocations: 311.1 kB / 1.362 GB, free: 11.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3557, allocations: 0 / 1.362 GB, free: 11.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003352/0.356, allocations: 75.89 kB / 1.362 GB, free: 11.22 MB / 1.061 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.001601/0.3576, allocations: 1.095 MB / 1.363 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.3588, allocations: 425.5 kB / 1.363 GB, free: 9.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3588, allocations: 4 kB / 1.363 GB, free: 9.676 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.3594, allocations: 215.8 kB / 1.364 GB, free: 9.465 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.3599, allocations: 53.48 kB / 1.364 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/0.3669, allocations: 4.146 MB / 1.368 GB, free: 5.188 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.3674, allocations: 0.7986 MB / 1.368 GB, free: 4.363 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002493/0.3676, allocations: 58.27 kB / 1.368 GB, free: 4.305 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.3679, allocations: 111.4 kB / 1.369 GB, free: 4.195 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3679, allocations: 3.938 kB / 1.369 GB, free: 4.191 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04188/0.4098, allocations: 8.02 MB / 1.376 GB, free: 12.37 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.545, allocations: 0 / 1.376 GB, free: 12.37 MB / 1.076 GB " [Timeout remaining time 291] (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/jenkins1/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: 14.894499768037349]