Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.366/2.366, allocations: 443.5 MB / 0.7304 GB, free: 13.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 1.059 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2517, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003405/0.2551, allocations: 2.403 MB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.2571, allocations: 1.418 MB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.2572, allocations: 7.938 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.2578, allocations: 206.8 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.2579, allocations: 75.34 kB / 1.22 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.2582, allocations: 119.7 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.2586, allocations: 326.8 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2587, allocations: 37 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.2589, allocations: 127.5 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.2591, allocations: 187.3 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.2592, allocations: 32 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.2593, allocations: 71.97 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.2595, allocations: 131.6 kB / 1.221 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.2596, allocations: 167.1 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.2601, allocations: 498.1 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2601, allocations: 0 / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2601, allocations: 0 / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.2601, allocations: 0 / 1.221 GB, free: 10.11 MB / 0.9669 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.001191/0.2613, allocations: 0.7235 MB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2614, allocations: 12.03 kB / 1.222 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.093e-05/0.2614, allocations: 54.73 kB / 1.222 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008222/0.2622, allocations: 144.5 kB / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.2627, allocations: 350.6 kB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.2628, allocations: 84.19 kB / 1.222 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.2628, allocations: 20.31 kB / 1.223 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.2635, allocations: 300.6 kB / 1.223 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2635, allocations: 0 / 1.223 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.2636, allocations: 4 kB / 1.223 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2636, allocations: 4 kB / 1.223 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.2646, allocations: 416.3 kB / 1.223 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.2662, allocations: 0.8704 MB / 1.224 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.2668, allocations: 250.4 kB / 1.224 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/0.2673, allocations: 204.7 kB / 1.224 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.2674, allocations: 8 kB / 1.224 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2674, allocations: 30.56 kB / 1.225 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.2674, allocations: 0 / 1.225 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.001757/0.2692, allocations: 0.659 MB / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.2692, allocations: 59.34 kB / 1.225 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.2696, allocations: 421.6 kB / 1.226 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.2697, allocations: 29.7 kB / 1.226 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.2698, allocations: 184 kB / 1.226 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.2699, allocations: 67.47 kB / 1.226 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.27, allocations: 37.7 kB / 1.226 GB, free: 5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2701, allocations: 346.8 kB / 1.226 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.2707, allocations: 195.8 kB / 1.226 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.2712, allocations: 233 kB / 1.227 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009906/0.2722, allocations: 378.3 kB / 1.227 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2722, allocations: 0 / 1.227 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001165/0.2734, allocations: 457.2 kB / 1.227 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2734, allocations: 8 kB / 1.227 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2734, allocations: 0 / 1.227 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2734, allocations: 0 / 1.227 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.2738, allocations: 71.8 kB / 1.228 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2739, allocations: 0 / 1.228 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.2742, allocations: 39.84 kB / 1.228 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.2742, allocations: 15.98 kB / 1.228 GB, free: 3.266 MB / 0.9669 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.0001722/0.2744, allocations: 161.8 kB / 1.228 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.2744, allocations: 35.77 kB / 1.228 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.562e-05/0.2745, allocations: 43.58 kB / 1.228 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2745, allocations: 3.938 kB / 1.228 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2745, allocations: 4 kB / 1.228 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.2745, allocations: 0 / 1.228 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.275, allocations: 478.8 kB / 1.228 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.275, allocations: 0 / 1.228 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.2755, allocations: 67.88 kB / 1.228 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2755, allocations: 48 / 1.228 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.2755, allocations: 7.969 kB / 1.228 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2755, allocations: 3.938 kB / 1.228 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2755, allocations: 4 kB / 1.228 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.2767, allocations: 0.5479 MB / 1.229 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/0.2768, allocations: 116.9 kB / 1.229 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.2768, allocations: 7.938 kB / 1.229 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.2772, allocations: 31.89 kB / 1.229 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/0.2772, allocations: 39.8 kB / 1.229 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.2773, allocations: 8 kB / 1.229 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003151/0.2776, allocations: 311.1 kB / 1.229 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2776, allocations: 0 / 1.229 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003108/0.2779, allocations: 67.89 kB / 1.229 GB, free: 1.27 MB / 0.9669 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.001472/0.2794, allocations: 1.093 MB / 1.231 GB, free: 152 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.2805, allocations: 423.6 kB / 1.231 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2805, allocations: 0 / 1.231 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.2811, allocations: 219.8 kB / 1.231 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.2815, allocations: 53.48 kB / 1.231 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/0.2881, allocations: 4.143 MB / 1.235 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.2885, allocations: 0.7948 MB / 1.236 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002555/0.2888, allocations: 62.27 kB / 1.236 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.289, allocations: 99.39 kB / 1.236 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.289, allocations: 7.938 kB / 1.236 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.3181, allocations: 7.972 MB / 1.244 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.817, allocations: 14.95 kB / 1.244 GB, free: 2.422 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QLoa_flow from file Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! Error: Could not read variable equFit.QSou_flow in file Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QSou_flow from file Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.034737624999252]