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.001709/0.001709, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002242/0.002242, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 8 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.711/2.711, allocations: 476.7 MB / 0.7707 GB, free: 4.238 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.002094/0.002094, allocations: 65.23 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3384, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004138/0.3426, allocations: 2.426 MB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002517/0.3451, allocations: 1.487 MB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.3453, allocations: 7.938 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007096/0.346, allocations: 202.8 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.3462, allocations: 79.34 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.3466, allocations: 139.6 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.347, allocations: 322.8 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.3472, allocations: 36.44 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.3475, allocations: 147.4 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.3478, allocations: 191.4 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.611e-05/0.3478, allocations: 32 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.348, allocations: 71.97 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.3481, allocations: 123.6 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.3483, allocations: 175 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.3489, allocations: 0.4903 MB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3489, allocations: 0 / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3489, allocations: 0 / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.349, allocations: 0 / 1.289 GB, free: 5.789 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.001458/0.3504, allocations: 0.6483 MB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3505, allocations: 12.02 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.231e-05/0.3505, allocations: 50.73 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.3517, allocations: 188.4 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/0.3522, allocations: 308.7 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.3524, allocations: 191 kB / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.3525, allocations: 12.38 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.3533, allocations: 307.9 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3533, allocations: 4 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.3533, allocations: 0 / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3533, allocations: 4 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.3545, allocations: 420.3 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.3563, allocations: 0.8307 MB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.357, allocations: 264.4 kB / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.3576, allocations: 204.7 kB / 1.292 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.3576, allocations: 3.984 kB / 1.292 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.3577, allocations: 42.5 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 2.916e-06/0.3577, allocations: 3.938 kB / 1.293 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001843/0.3595, allocations: 0.6575 MB / 1.293 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.3596, allocations: 59.28 kB / 1.293 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005283/0.3601, allocations: 425.6 kB / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.3601, allocations: 29.7 kB / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3603, allocations: 180 kB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.321e-05/0.3604, allocations: 63.47 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3605, allocations: 37.7 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3607, allocations: 346.8 kB / 1.294 GB, free: 356 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/0.3612, allocations: 199.8 kB / 1.294 GB, free: 156 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.3618, allocations: 229.6 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009867/0.3628, allocations: 372.5 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3628, allocations: 0 / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001184/0.364, allocations: 470.7 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.364, allocations: 7.984 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.364, allocations: 0 / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.364, allocations: 0 / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.3645, allocations: 67.88 kB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3645, allocations: 0 / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.3648, allocations: 43.83 kB / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.3649, allocations: 8 kB / 1.296 GB, free: 14.96 MB / 0.9981 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.0002204/0.3651, allocations: 165.8 kB / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.3652, allocations: 35.77 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/0.3652, allocations: 39.53 kB / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3652, allocations: 15.92 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3653, allocations: 0 / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3653, allocations: 0 / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.3659, allocations: 449.8 kB / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3659, allocations: 0 / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.3663, allocations: 59.92 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3663, allocations: 0 / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.3663, allocations: 11.98 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.3663, allocations: 3.938 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.3663, allocations: 4 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.3675, allocations: 0.556 MB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.3676, allocations: 43.75 kB / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.3677, allocations: 48 / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.368, allocations: 39.88 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-05/0.3681, allocations: 23.95 kB / 1.297 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.3681, allocations: 8 kB / 1.297 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003674/0.3685, allocations: 311.1 kB / 1.297 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3685, allocations: 3.938 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003336/0.3688, allocations: 64 kB / 1.297 GB, free: 13.08 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.001572/0.3704, allocations: 1.102 MB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.3716, allocations: 422 kB / 1.299 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3716, allocations: 8 kB / 1.299 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005556/0.3721, allocations: 211.8 kB / 1.299 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.3726, allocations: 63.36 kB / 1.299 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00696/0.3795, allocations: 4.154 MB / 1.303 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.38, allocations: 0.7909 MB / 1.304 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002777/0.3802, allocations: 54.27 kB / 1.304 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.3805, allocations: 111.4 kB / 1.304 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/0.3805, allocations: 0 / 1.304 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.4189, allocations: 8.219 MB / 1.312 GB, free: 14.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.5, allocations: 1.438 kB / 1.312 GB, free: 14.04 MB / 1.014 GB " [Timeout remaining time 288] (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: 18.136055577999286]