Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001279/0.001279, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001525/0.001525, allocations: 220.4 kB / 22.25 MB, free: 5.098 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.961/2.961, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_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.001873/0.001873, allocations: 61.12 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3093, allocations: 176.1 MB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003839/0.3131, allocations: 2.295 MB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.3154, allocations: 1.347 MB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3156, allocations: 4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.3162, allocations: 183 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.3164, allocations: 79.3 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.3168, allocations: 131.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.3172, allocations: 338.7 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3173, allocations: 33.14 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.3176, allocations: 143.5 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.3179, allocations: 195.3 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.591e-05/0.3179, allocations: 32 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.3181, allocations: 75.95 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3182, allocations: 119.6 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.3184, allocations: 139.3 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.3189, allocations: 0.4942 MB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3189, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3189, allocations: 3.938 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3189, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 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.001296/0.3202, allocations: 0.6484 MB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3203, allocations: 8.031 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.3203, allocations: 50.73 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.3214, allocations: 180.4 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.3219, allocations: 304.7 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.3221, allocations: 194.9 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.3221, allocations: 24.25 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.3228, allocations: 295.9 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3228, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.3229, allocations: 4 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3229, allocations: 4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.324, allocations: 416.4 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.3255, allocations: 0.7566 MB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.3262, allocations: 258.4 kB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.3267, allocations: 208.7 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.3267, allocations: 0 / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3268, allocations: 42.5 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.3268, allocations: 0 / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001739/0.3285, allocations: 0.6473 MB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3285, allocations: 63.28 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.329, allocations: 429.6 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.3291, allocations: 25.7 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3292, allocations: 176.1 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.3293, allocations: 63.47 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3294, allocations: 41.7 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3295, allocations: 346.8 kB / 1.336 GB, free: 6.613 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.3301, allocations: 195.8 kB / 1.336 GB, free: 6.422 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.3306, allocations: 313.8 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.3317, allocations: 370 kB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3317, allocations: 0 / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001163/0.3328, allocations: 474.8 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3328, allocations: 4 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3328, allocations: 4 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3329, allocations: 0 / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.3333, allocations: 67.8 kB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3333, allocations: 4 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.3336, allocations: 43.84 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.3337, allocations: 0 / 1.338 GB, free: 5.133 MB / 1.029 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.0001878/0.3338, allocations: 165.8 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.3339, allocations: 39.77 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.97e-05/0.334, allocations: 43.52 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.334, allocations: 3.938 kB / 1.338 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.334, allocations: 0 / 1.338 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.334, allocations: 12 kB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.3345, allocations: 378.1 kB / 1.338 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3345, allocations: 0 / 1.338 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.3349, allocations: 63.86 kB / 1.338 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3349, allocations: 0 / 1.338 GB, free: 4.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.3349, allocations: 7.938 kB / 1.338 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.335, allocations: 7.938 kB / 1.338 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.335, allocations: 0 / 1.338 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3361, allocations: 0.5458 MB / 1.339 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/0.3362, allocations: 47.75 kB / 1.339 GB, free: 3.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.3363, allocations: 7.938 kB / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.3366, allocations: 39.88 kB / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.3367, allocations: 23.97 kB / 1.339 GB, free: 3.699 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.3367, allocations: 11.98 kB / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003343/0.337, allocations: 307.1 kB / 1.339 GB, free: 3.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.337, allocations: 4 kB / 1.339 GB, free: 3.387 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003264/0.3374, allocations: 60 kB / 1.339 GB, free: 3.328 MB / 1.029 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.001534/0.3389, allocations: 1.104 MB / 1.34 GB, free: 2.195 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.34, allocations: 425.7 kB / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.34, allocations: 0 / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.3406, allocations: 215.8 kB / 1.341 GB, free: 1.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.341, allocations: 49.41 kB / 1.341 GB, free: 1.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006609/0.3476, allocations: 4.156 MB / 1.345 GB, free: 13.29 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.3478, allocations: 191.4 kB / 1.345 GB, free: 13.08 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002497/0.348, allocations: 66.3 kB / 1.345 GB, free: 13.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.3483, allocations: 103.4 kB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of SimCode: time 7.12e-07/0.3483, allocations: 4 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.3859, allocations: 8.984 MB / 1.354 GB, free: 4.125 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.01, allocations: 4.703 kB / 1.354 GB, free: 4.125 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QLoa_flow from file Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! Error: Could not read variable equFit.QSou_flow in file Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QSou_flow from file Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.247379834996536]