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.0006471/0.0006471, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007168/0.0007168, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8893/0.8893, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.687/1.687, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.223e-05, allocations: 2.281 kB / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002442/0.002464, allocations: 2.303 MB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.003972, allocations: 1.335 MB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.004103, allocations: 4 kB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.004558, allocations: 190.8 kB / 0.9847 GB, free: 14.76 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 9.013e-05/0.004648, allocations: 71.34 kB / 0.9848 GB, free: 14.69 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.004957, allocations: 151.5 kB / 0.9849 GB, free: 14.54 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.005227, allocations: 338.6 kB / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.00533, allocations: 28.92 kB / 0.9853 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.00555, allocations: 195.5 kB / 0.9854 GB, free: 13.99 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.00574, allocations: 151.6 kB / 0.9856 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.005778, allocations: 32 kB / 0.9856 GB, free: 13.81 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.005885, allocations: 79.89 kB / 0.9857 GB, free: 13.73 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.005977, allocations: 123.6 kB / 0.9858 GB, free: 13.61 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.672e-05/0.006054, allocations: 115.7 kB / 0.9859 GB, free: 13.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.006433, allocations: 0.518 MB / 0.9864 GB, free: 12.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.006437, allocations: 0 / 0.9864 GB, free: 12.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.006438, allocations: 0 / 0.9864 GB, free: 12.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.006444, allocations: 0 / 0.9864 GB, free: 12.98 MB / 0.948 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.0007932/0.007237, allocations: 0.6444 MB / 0.9871 GB, free: 12.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.007275, allocations: 8.031 kB / 0.9871 GB, free: 12.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.007318, allocations: 54.73 kB / 0.9871 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005247/0.007842, allocations: 180.5 kB / 0.9873 GB, free: 12.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.008166, allocations: 299.9 kB / 0.9876 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.008282, allocations: 199 kB / 0.9878 GB, free: 11.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.00831, allocations: 16.38 kB / 0.9878 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.008724, allocations: 289 kB / 0.9881 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.008732, allocations: 192 / 0.9881 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.008753, allocations: 7.938 kB / 0.9881 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.008759, allocations: 4 kB / 0.9881 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006016/0.00936, allocations: 421.5 kB / 0.9885 GB, free: 10.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01036, allocations: 0.7645 MB / 0.9892 GB, free: 9.984 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.01077, allocations: 261.1 kB / 0.9895 GB, free: 9.723 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.01106, allocations: 212.7 kB / 0.9897 GB, free: 9.512 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.01109, allocations: 7.875 kB / 0.9897 GB, free: 9.504 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.01111, allocations: 34.56 kB / 0.9897 GB, free: 9.461 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.01111, allocations: 0 / 0.9897 GB, free: 9.461 MB / 0.948 GB Notification: Performance of matching and sorting (n=18): time 0.001009/0.01212, allocations: 0.6458 MB / 0.9903 GB, free: 8.809 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.01216, allocations: 63.39 kB / 0.9904 GB, free: 8.734 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.01246, allocations: 425.6 kB / 0.9908 GB, free: 8.305 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.01249, allocations: 29.7 kB / 0.9908 GB, free: 8.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.845e-05/0.01259, allocations: 176.1 kB / 0.991 GB, free: 8.094 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.01264, allocations: 63.47 kB / 0.9911 GB, free: 8.031 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/0.01271, allocations: 41.69 kB / 0.9911 GB, free: 7.984 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01281, allocations: 350.7 kB / 0.9914 GB, free: 7.633 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.01309, allocations: 199.8 kB / 0.9916 GB, free: 7.438 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.01341, allocations: 308.3 kB / 0.9919 GB, free: 7.105 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.01395, allocations: 374.4 kB / 0.9923 GB, free: 6.738 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.01396, allocations: 0 / 0.9923 GB, free: 6.738 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006484/0.01461, allocations: 459.5 kB / 0.9927 GB, free: 6.285 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.01462, allocations: 8 kB / 0.9927 GB, free: 6.277 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01463, allocations: 4 kB / 0.9927 GB, free: 6.273 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.01464, allocations: 0 / 0.9927 GB, free: 6.273 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.01489, allocations: 67.86 kB / 0.9928 GB, free: 6.207 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.0149, allocations: 0 / 0.9928 GB, free: 6.207 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.01505, allocations: 47.77 kB / 0.9928 GB, free: 6.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.01507, allocations: 8 kB / 0.9928 GB, free: 6.152 MB / 0.948 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.0001399/0.01521, allocations: 165.8 kB / 0.993 GB, free: 5.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.01525, allocations: 35.77 kB / 0.993 GB, free: 5.945 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.0153, allocations: 39.53 kB / 0.9931 GB, free: 5.902 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.01531, allocations: 0 / 0.9931 GB, free: 5.902 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.01531, allocations: 0 / 0.9931 GB, free: 5.902 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01532, allocations: 11.92 kB / 0.9931 GB, free: 5.891 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.01565, allocations: 378 kB / 0.9934 GB, free: 5.484 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01566, allocations: 0 / 0.9934 GB, free: 5.484 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.01584, allocations: 67.92 kB / 0.9935 GB, free: 5.418 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01584, allocations: 0 / 0.9935 GB, free: 5.418 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.01586, allocations: 3.984 kB / 0.9935 GB, free: 5.414 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.01587, allocations: 4 kB / 0.9935 GB, free: 5.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01587, allocations: 0 / 0.9935 GB, free: 5.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.01654, allocations: 0.5574 MB / 0.9941 GB, free: 4.836 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.01658, allocations: 47.64 kB / 0.9941 GB, free: 4.789 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.01661, allocations: 4 kB / 0.9941 GB, free: 4.785 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.01677, allocations: 31.95 kB / 0.9941 GB, free: 4.754 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.01685, allocations: 31.95 kB / 0.9942 GB, free: 4.723 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.01687, allocations: 4 kB / 0.9942 GB, free: 4.719 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002147/0.01708, allocations: 319 kB / 0.9945 GB, free: 4.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01708, allocations: 0 / 0.9945 GB, free: 4.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002132/0.01729, allocations: 64 kB / 0.9945 GB, free: 4.348 MB / 0.948 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.0008866/0.01818, allocations: 1.098 MB / 0.9956 GB, free: 3.227 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006511/0.01883, allocations: 427.6 kB / 0.996 GB, free: 2.809 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01883, allocations: 3.938 kB / 0.996 GB, free: 2.805 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.01914, allocations: 219.8 kB / 0.9962 GB, free: 2.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.01942, allocations: 41.42 kB / 0.9963 GB, free: 2.551 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.02353, allocations: 4.169 MB / 1 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.02365, allocations: 187.5 kB / 1.001 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.02382, allocations: 66.3 kB / 1.001 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.02398, allocations: 108.5 kB / 1.001 GB, free: 13.92 MB / 0.9636 GB Notification: Performance of SimCode: time 1.102e-06/0.02398, allocations: 0 / 1.001 GB, free: 13.92 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.04341, allocations: 9.057 MB / 1.01 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.421/6.465, allocations: 5.781 kB / 1.01 GB, free: 5.082 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.531527943909168]