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.001458/0.001458, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001626/0.001626, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.332/1.332, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 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 2.948/2.948, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.001925/0.001925, allocations: 62.55 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3061, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003617/0.3097, allocations: 2.304 MB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.3118, allocations: 1.343 MB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3119, allocations: 7.938 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.3124, allocations: 179 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.3125, allocations: 75.33 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.3129, allocations: 135.7 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.3132, allocations: 334.8 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3133, allocations: 37.08 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.3136, allocations: 143.5 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.3138, allocations: 179.3 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.3139, allocations: 32 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.314, allocations: 71.97 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3142, allocations: 115.7 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.3143, allocations: 139.2 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005232/0.3148, allocations: 0.502 MB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3148, allocations: 0 / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3148, allocations: 0 / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3148, allocations: 0 / 1.369 GB, free: 8.543 MB / 1.061 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.001229/0.3161, allocations: 0.6483 MB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3161, allocations: 8.031 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.883e-05/0.3162, allocations: 50.73 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.3172, allocations: 176.5 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.3177, allocations: 312.6 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.3179, allocations: 191 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.3179, allocations: 16.36 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.3186, allocations: 303.2 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3186, allocations: 0 / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.3187, allocations: 8 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3187, allocations: 0 / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.3197, allocations: 420.4 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.3213, allocations: 0.7652 MB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.3219, allocations: 258.4 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.3224, allocations: 200.7 kB / 1.372 GB, free: 5.066 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.3225, allocations: 8 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3225, allocations: 30.56 kB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.243e-06/0.3225, allocations: 0 / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001713/0.3242, allocations: 0.6477 MB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.3243, allocations: 63.34 kB / 1.373 GB, free: 4.293 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.3247, allocations: 429.6 kB / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.3247, allocations: 29.7 kB / 1.373 GB, free: 3.828 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.3249, allocations: 180 kB / 1.373 GB, free: 3.648 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.3249, allocations: 59.42 kB / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.325, allocations: 49.62 kB / 1.373 GB, free: 3.535 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3252, allocations: 346.8 kB / 1.374 GB, free: 3.188 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/0.3257, allocations: 195.9 kB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.3263, allocations: 308.3 kB / 1.374 GB, free: 2.664 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009726/0.3273, allocations: 374.6 kB / 1.375 GB, free: 2.297 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3273, allocations: 0 / 1.375 GB, free: 2.297 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001142/0.3284, allocations: 459 kB / 1.375 GB, free: 1.844 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3284, allocations: 8 kB / 1.375 GB, free: 1.836 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3284, allocations: 0 / 1.375 GB, free: 1.836 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3285, allocations: 7.938 kB / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.3289, allocations: 63.86 kB / 1.375 GB, free: 1.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3289, allocations: 7.984 kB / 1.375 GB, free: 1.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.3292, allocations: 39.83 kB / 1.375 GB, free: 1.719 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.3292, allocations: 8 kB / 1.375 GB, free: 1.711 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.00018/0.3294, allocations: 170.8 kB / 1.375 GB, free: 1.535 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.3295, allocations: 35.77 kB / 1.375 GB, free: 1.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.3296, allocations: 43.53 kB / 1.375 GB, free: 1.461 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3296, allocations: 3.938 kB / 1.375 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3296, allocations: 3.938 kB / 1.375 GB, free: 1.453 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3296, allocations: 3.984 kB / 1.375 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.3301, allocations: 382.2 kB / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3301, allocations: 0 / 1.376 GB, free: 1.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/0.3305, allocations: 63.92 kB / 1.376 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3305, allocations: 4 kB / 1.376 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.3305, allocations: 3.984 kB / 1.376 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3305, allocations: 3.938 kB / 1.376 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3305, allocations: 3.938 kB / 1.376 GB, free: 0.957 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3317, allocations: 0.5575 MB / 1.376 GB, free: 392 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.8e-05/0.3317, allocations: 43.7 kB / 1.376 GB, free: 348 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.3318, allocations: 8 kB / 1.377 GB, free: 340 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.3321, allocations: 31.89 kB / 1.377 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.3322, allocations: 27.95 kB / 1.377 GB, free: 280 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.3322, allocations: 4 kB / 1.377 GB, free: 276 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003363/0.3326, allocations: 311.1 kB / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3326, allocations: 0 / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003115/0.3329, allocations: 68 kB / 1.377 GB, free: 15.9 MB / 1.076 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.001485/0.3344, allocations: 1.093 MB / 1.378 GB, free: 14.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.3355, allocations: 423.6 kB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3355, allocations: 0 / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.336, allocations: 221.2 kB / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3364, allocations: 57.33 kB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.3429, allocations: 4.147 MB / 1.383 GB, free: 9.871 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.3431, allocations: 195.3 kB / 1.383 GB, free: 9.66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002649/0.3433, allocations: 62.27 kB / 1.383 GB, free: 9.602 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.3436, allocations: 111.4 kB / 1.383 GB, free: 9.496 MB / 1.076 GB Notification: Performance of SimCode: time 8.91e-07/0.3436, allocations: 0 / 1.383 GB, free: 9.496 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.3796, allocations: 8.941 MB / 1.392 GB, free: 0.75 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.01, allocations: 3.938 kB / 1.392 GB, free: 0.7461 MB / 1.076 GB " [Timeout remaining time 289] (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: 17.088620763272047]