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.001106/0.001106, 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.0008597/0.0008597, allocations: 165.9 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.8558/0.8558, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.409e-05, allocations: 14.16 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002602/0.002626, allocations: 2.293 MB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.00407, allocations: 1.339 MB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.004183, allocations: 7.938 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.004643, allocations: 182.8 kB / 0.9542 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 9.232e-05/0.004736, allocations: 79.28 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.005045, allocations: 135.6 kB / 0.9544 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.005329, allocations: 338.6 kB / 0.9548 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.005507, allocations: 44.8 kB / 0.9548 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004098/0.005917, allocations: 191.6 kB / 0.955 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.006144, allocations: 159.6 kB / 0.9551 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.006184, allocations: 31.94 kB / 0.9552 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.006306, allocations: 71.97 kB / 0.9552 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.006408, allocations: 127.6 kB / 0.9554 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.237e-05/0.006501, allocations: 111.7 kB / 0.9555 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.006965, allocations: 0.5141 MB / 0.956 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.006969, allocations: 4 kB / 0.956 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.663e-06/0.006971, allocations: 0 / 0.956 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.006976, allocations: 0 / 0.956 GB, free: 13.84 MB / 0.9167 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.0009429/0.007919, allocations: 0.6366 MB / 0.9566 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.007964, allocations: 12.03 kB / 0.9566 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.00801, allocations: 50.75 kB / 0.9566 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005981/0.008608, allocations: 180.4 kB / 0.9568 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.008985, allocations: 307.9 kB / 0.9571 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.009116, allocations: 199 kB / 0.9573 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.009145, allocations: 12.38 kB / 0.9573 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.009609, allocations: 291.8 kB / 0.9576 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.009617, allocations: 192 / 0.9576 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.009638, allocations: 7.938 kB / 0.9576 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.009644, allocations: 4 kB / 0.9576 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006301/0.01027, allocations: 420.3 kB / 0.958 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.01135, allocations: 0.7566 MB / 0.9587 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.01177, allocations: 262.3 kB / 0.959 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.01208, allocations: 214.6 kB / 0.9592 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.01211, allocations: 4 kB / 0.9592 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.01213, allocations: 34.88 kB / 0.9592 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.923e-06/0.01213, allocations: 0 / 0.9592 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001066/0.0132, allocations: 0.6532 MB / 0.9599 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.01323, allocations: 55.34 kB / 0.9599 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.01358, allocations: 425.6 kB / 0.9603 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.01361, allocations: 29.7 kB / 0.9604 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.01372, allocations: 180.1 kB / 0.9605 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.01377, allocations: 63.44 kB / 0.9606 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.01385, allocations: 33.7 kB / 0.9606 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01395, allocations: 354.7 kB / 0.961 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.01427, allocations: 203.8 kB / 0.9612 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.01463, allocations: 314.3 kB / 0.9615 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.01521, allocations: 367.1 kB / 0.9618 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01521, allocations: 4 kB / 0.9618 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007063/0.01592, allocations: 465 kB / 0.9623 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.01594, allocations: 8 kB / 0.9623 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.01594, allocations: 0 / 0.9623 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.01596, allocations: 0 / 0.9623 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.01622, allocations: 63.92 kB / 0.9623 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.01623, allocations: 0 / 0.9623 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.0164, allocations: 47.78 kB / 0.9624 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.01642, allocations: 11.98 kB / 0.9624 GB, free: 7.012 MB / 0.9167 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.0001538/0.01658, allocations: 161.8 kB / 0.9625 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.01662, allocations: 39.75 kB / 0.9626 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.01667, allocations: 39.53 kB / 0.9626 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01667, allocations: 4 kB / 0.9626 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.01668, allocations: 0 / 0.9626 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01668, allocations: 0 / 0.9626 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.01704, allocations: 374.4 kB / 0.963 GB, free: 6.355 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01704, allocations: 3.938 kB / 0.963 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.01725, allocations: 67.92 kB / 0.963 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01725, allocations: 0 / 0.963 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.01727, allocations: 4 kB / 0.963 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01727, allocations: 0 / 0.963 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01728, allocations: 3.938 kB / 0.963 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007256/0.018, allocations: 0.5644 MB / 0.9636 GB, free: 5.699 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.01805, allocations: 47.59 kB / 0.9636 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.01809, allocations: 3.984 kB / 0.9636 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.01826, allocations: 31.95 kB / 0.9637 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.01834, allocations: 23.97 kB / 0.9637 GB, free: 5.594 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.01836, allocations: 7.984 kB / 0.9637 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002466/0.01861, allocations: 323.1 kB / 0.964 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01861, allocations: 0 / 0.964 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002344/0.01884, allocations: 60 kB / 0.9641 GB, free: 5.215 MB / 0.9167 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.0009701/0.01981, allocations: 1.095 MB / 0.9651 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007048/0.02052, allocations: 419.6 kB / 0.9655 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.02052, allocations: 0 / 0.9655 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.02084, allocations: 227.7 kB / 0.9658 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.02116, allocations: 45.48 kB / 0.9658 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.02585, allocations: 4.177 MB / 0.9699 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.02598, allocations: 187.5 kB / 0.9701 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.02619, allocations: 62.3 kB / 0.9701 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.02636, allocations: 112.4 kB / 0.9702 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of SimCode: time 1.353e-06/0.02636, allocations: 0 / 0.9702 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.05187, allocations: 9.053 MB / 0.9791 GB, free: 5.949 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.626, allocations: 0 / 0.9791 GB, free: 5.949 MB / 0.9323 GB " [Timeout remaining time 292] (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/jenkins/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: 11.685466535389423]