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.001395/0.001395, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001564/0.001564, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.314/1.314, allocations: 230.6 MB / 256 MB, free: 8.004 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.92/2.92, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.001825/0.001825, allocations: 70.8 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2879, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003569/0.2915, allocations: 2.421 MB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.2935, allocations: 1.487 MB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.2936, allocations: 4 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.2941, allocations: 206.8 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.2942, allocations: 79.3 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.2945, allocations: 131.7 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.2949, allocations: 334.7 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.295, allocations: 37.14 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.2953, allocations: 139.5 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.2955, allocations: 195.2 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.2956, allocations: 36 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.2957, allocations: 75.97 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2959, allocations: 119.6 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.296, allocations: 175 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.2965, allocations: 0.4942 MB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2965, allocations: 0 / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2965, allocations: 0 / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2965, allocations: 0 / 1.359 GB, free: 2.504 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.001179/0.2977, allocations: 0.6522 MB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.2977, allocations: 8.031 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.684e-05/0.2978, allocations: 46.73 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.2989, allocations: 180.5 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.2993, allocations: 316.6 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.2995, allocations: 191 kB / 1.36 GB, free: 1.027 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.2995, allocations: 16.36 kB / 1.36 GB, free: 1.012 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.3002, allocations: 296.4 kB / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3002, allocations: 4 kB / 1.36 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.3002, allocations: 8 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3003, allocations: 0 / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3013, allocations: 416.4 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3028, allocations: 0.8344 MB / 1.361 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.3035, allocations: 250.4 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/0.304, allocations: 212.7 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.304, allocations: 0 / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.304, allocations: 42.5 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 9.82e-07/0.304, allocations: 4 kB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001692/0.3057, allocations: 0.6457 MB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3058, allocations: 63.34 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.3062, allocations: 433.6 kB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.3063, allocations: 25.7 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.3064, allocations: 172.1 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.3065, allocations: 71.36 kB / 1.363 GB, free: 13.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3066, allocations: 41.69 kB / 1.363 GB, free: 13.42 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3067, allocations: 346.8 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.3072, allocations: 195.9 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.3078, allocations: 241.3 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009369/0.3087, allocations: 366.3 kB / 1.364 GB, free: 12.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3087, allocations: 4 kB / 1.364 GB, free: 12.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001084/0.3098, allocations: 461.1 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3098, allocations: 8 kB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3098, allocations: 0 / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3098, allocations: 3.938 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.3103, allocations: 67.8 kB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3103, allocations: 4 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.3106, allocations: 47.83 kB / 1.365 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.3106, allocations: 4 kB / 1.365 GB, free: 11.68 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.0001786/0.3108, allocations: 169.8 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.3108, allocations: 35.77 kB / 1.365 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.3109, allocations: 39.53 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3109, allocations: 7.938 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3109, allocations: 4 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3109, allocations: 3.984 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.3114, allocations: 446 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3114, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.3118, allocations: 63.86 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3118, allocations: 0 / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.3119, allocations: 11.98 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3119, allocations: 3.938 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3119, allocations: 0 / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.313, allocations: 0.5559 MB / 1.366 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.313, allocations: 39.75 kB / 1.366 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.3131, allocations: 8 kB / 1.366 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.3134, allocations: 35.89 kB / 1.366 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.3135, allocations: 27.95 kB / 1.366 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.3135, allocations: 4 kB / 1.366 GB, free: 10.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003173/0.3138, allocations: 307.1 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3138, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003187/0.3141, allocations: 75.89 kB / 1.367 GB, free: 9.809 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.001414/0.3156, allocations: 1.099 MB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.3166, allocations: 417.1 kB / 1.368 GB, free: 8.273 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3166, allocations: 0 / 1.368 GB, free: 8.273 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.3172, allocations: 223.7 kB / 1.368 GB, free: 8.055 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3175, allocations: 56.3 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006192/0.3237, allocations: 4.155 MB / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3241, allocations: 0.7907 MB / 1.373 GB, free: 2.945 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002212/0.3243, allocations: 62.27 kB / 1.373 GB, free: 2.883 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.3246, allocations: 107.4 kB / 1.374 GB, free: 2.777 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3246, allocations: 0 / 1.374 GB, free: 2.777 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.3597, allocations: 8.223 MB / 1.382 GB, free: 10.74 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.52, allocations: 8.031 kB / 1.382 GB, free: 10.74 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: 16.51725574000011]