Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001633/0.001633, 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.001983/0.001983, allocations: 208.5 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.767/2.767, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_11_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.002107/0.002107, allocations: 64.33 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.302, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004398/0.3064, allocations: 2.291 MB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.309, allocations: 1.34 MB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.3092, allocations: 11.88 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007484/0.31, allocations: 175 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.3102, allocations: 71.34 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.3107, allocations: 147.6 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.3112, allocations: 326.8 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3113, allocations: 32.91 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/0.3117, allocations: 143.4 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.3121, allocations: 167.4 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3122, allocations: 32 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.3124, allocations: 75.95 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.3126, allocations: 127.6 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.3128, allocations: 131.3 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008451/0.3136, allocations: 0.5152 MB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3136, allocations: 0 / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3136, allocations: 0 / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.3137, allocations: 0 / 1.288 GB, free: 6.895 MB / 0.9825 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.001929/0.3156, allocations: 0.6445 MB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.3157, allocations: 8.031 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.961e-05/0.3157, allocations: 46.73 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.3169, allocations: 184.4 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006415/0.3176, allocations: 312.7 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.3178, allocations: 187 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.3178, allocations: 16.38 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.3186, allocations: 299.2 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3186, allocations: 3.984 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3186, allocations: 8 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3186, allocations: 0 / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.3198, allocations: 421 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.3218, allocations: 0.7644 MB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006751/0.3225, allocations: 258.4 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/0.323, allocations: 200.7 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.3231, allocations: 4 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3231, allocations: 38.56 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.3231, allocations: 0 / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001899/0.325, allocations: 0.6479 MB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.325, allocations: 63.28 kB / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.3256, allocations: 425.6 kB / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.3257, allocations: 33.7 kB / 1.292 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.3258, allocations: 180 kB / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.887e-05/0.3259, allocations: 59.48 kB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.326, allocations: 41.69 kB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3262, allocations: 350.8 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/0.3268, allocations: 191.9 kB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/0.3274, allocations: 308.4 kB / 1.293 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.3285, allocations: 371.3 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3285, allocations: 0 / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001283/0.3298, allocations: 473 kB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3298, allocations: 4 kB / 1.294 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3298, allocations: 0 / 1.294 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3298, allocations: 0 / 1.294 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.3303, allocations: 63.86 kB / 1.294 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3303, allocations: 0 / 1.294 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.3306, allocations: 51.83 kB / 1.294 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.3307, allocations: 4 kB / 1.294 GB, free: 76 kB / 0.9825 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.0002494/0.3309, allocations: 177.6 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.331, allocations: 39.72 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.828e-05/0.3311, allocations: 39.53 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3311, allocations: 7.938 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3311, allocations: 0 / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3311, allocations: 3.984 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.3318, allocations: 366.1 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3318, allocations: 4 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.3322, allocations: 59.92 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/0.3322, allocations: 4 kB / 1.295 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.3322, allocations: 7.984 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3323, allocations: 3.938 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3323, allocations: 0 / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.3336, allocations: 0.5557 MB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.955e-05/0.3337, allocations: 47.69 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.3338, allocations: 4 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.3341, allocations: 39.89 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3342, allocations: 27.95 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.3343, allocations: 4 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004034/0.3347, allocations: 311.1 kB / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3347, allocations: 0 / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003452/0.335, allocations: 68 kB / 1.296 GB, free: 14.26 MB / 0.9981 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.001681/0.3367, allocations: 1.097 MB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.3379, allocations: 419.6 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3379, allocations: 0 / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000617/0.3386, allocations: 219.8 kB / 1.298 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.339, allocations: 61.31 kB / 1.298 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007492/0.3465, allocations: 4.157 MB / 1.302 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3467, allocations: 187.5 kB / 1.302 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003053/0.3471, allocations: 58.27 kB / 1.302 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.3473, allocations: 111.4 kB / 1.302 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/0.3473, allocations: 0 / 1.302 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04153/0.3888, allocations: 8.932 MB / 1.311 GB, free: 15.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.69, allocations: 4.188 kB / 1.311 GB, free: 15.14 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QLoa_flow from file Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! Error: Could not read variable equFit.QSou_flow in file Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QSou_flow from file Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.482024582102895]