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.001465/0.001465, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001654/0.001654, allocations: 213.9 kB / 22.25 MB, free: 5.242 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.797 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.94/2.94, allocations: 0.4892 GB / 0.7943 GB, free: 35.74 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.001955/0.001955, allocations: 65.89 kB / 1.153 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3177, allocations: 176.1 MB / 1.325 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003688/0.3214, allocations: 2.291 MB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.3235, allocations: 1.355 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.3236, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005417/0.3241, allocations: 179 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.3243, allocations: 83.28 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.3246, allocations: 131.7 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.325, allocations: 334.8 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3251, allocations: 33.14 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.3254, allocations: 143.5 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.3256, allocations: 175.3 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.3257, allocations: 32 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.3258, allocations: 75.95 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.326, allocations: 119.7 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.3261, allocations: 139.2 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005513/0.3267, allocations: 0.5059 MB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3267, allocations: 0 / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3267, allocations: 0 / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3267, allocations: 0 / 1.33 GB, free: 12.69 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.001238/0.3279, allocations: 0.6366 MB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3279, allocations: 19.97 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.328, allocations: 46.75 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.3291, allocations: 180.4 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.3296, allocations: 308.7 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.3298, allocations: 195 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.3298, allocations: 12.38 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.3306, allocations: 312.1 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3306, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.3306, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3306, allocations: 8 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.3318, allocations: 412.4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.3335, allocations: 0.7566 MB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.3342, allocations: 258.4 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.3347, allocations: 208.7 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.3348, allocations: 8 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3348, allocations: 34.56 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.3348, allocations: 0 / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001771/0.3366, allocations: 0.6514 MB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.3366, allocations: 55.34 kB / 1.334 GB, free: 8.449 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/0.3371, allocations: 429.6 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.3372, allocations: 25.7 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.3373, allocations: 184 kB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.851e-05/0.3374, allocations: 59.48 kB / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3375, allocations: 33.7 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3377, allocations: 350.8 kB / 1.335 GB, free: 7.352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.3382, allocations: 199.8 kB / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.3389, allocations: 312.2 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3399, allocations: 374 kB / 1.336 GB, free: 6.453 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3399, allocations: 0 / 1.336 GB, free: 6.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001161/0.341, allocations: 474.8 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3411, allocations: 4 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3411, allocations: 0 / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3411, allocations: 0 / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.3415, allocations: 67.8 kB / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3415, allocations: 3.984 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.3418, allocations: 47.84 kB / 1.337 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.3419, allocations: 7.984 kB / 1.337 GB, free: 5.855 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.0001902/0.3421, allocations: 165.8 kB / 1.337 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.3421, allocations: 39.75 kB / 1.337 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.25e-05/0.3422, allocations: 39.53 kB / 1.337 GB, free: 5.609 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.3422, allocations: 7.938 kB / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3422, allocations: 0 / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3422, allocations: 0 / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.3428, allocations: 374.2 kB / 1.338 GB, free: 5.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3428, allocations: 4 kB / 1.338 GB, free: 5.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.3432, allocations: 63.86 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3432, allocations: 0 / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.3432, allocations: 8 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3432, allocations: 3.938 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3432, allocations: 3.984 kB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.3445, allocations: 0.5511 MB / 1.338 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.3446, allocations: 39.77 kB / 1.338 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.3446, allocations: 15.92 kB / 1.338 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.345, allocations: 35.89 kB / 1.338 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3451, allocations: 27.89 kB / 1.338 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3451, allocations: 12 kB / 1.338 GB, free: 4.418 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003396/0.3454, allocations: 311.1 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3454, allocations: 0 / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003073/0.3458, allocations: 60 kB / 1.339 GB, free: 4.059 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.001659/0.3474, allocations: 1.113 MB / 1.34 GB, free: 2.918 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.3486, allocations: 411.7 kB / 1.34 GB, free: 2.516 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3486, allocations: 4 kB / 1.34 GB, free: 2.512 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005702/0.3491, allocations: 219.8 kB / 1.34 GB, free: 2.297 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.3495, allocations: 49.36 kB / 1.34 GB, free: 2.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006767/0.3563, allocations: 4.145 MB / 1.344 GB, free: 14.02 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.3565, allocations: 191.4 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002793/0.3568, allocations: 66.3 kB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.357, allocations: 107.4 kB / 1.345 GB, free: 13.65 MB / 1.045 GB Notification: Performance of SimCode: time 1.513e-06/0.357, allocations: 0 / 1.345 GB, free: 13.65 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03654/0.3935, allocations: 8.926 MB / 1.353 GB, free: 4.918 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.26, allocations: 9.312 kB / 1.353 GB, free: 4.914 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.435470890719444]