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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.539/2.539, allocations: 476.7 MB / 0.7628 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001891/0.001891, allocations: 71.89 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.7599, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003105/0.763, allocations: 2.416 MB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.7645, allocations: 1.411 MB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.7646, allocations: 2.844 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.7651, allocations: 205.3 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.7652, allocations: 80.02 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.7655, allocations: 117 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.7658, allocations: 323.6 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.7659, allocations: 37.97 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.7661, allocations: 130.7 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.7663, allocations: 196 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.7663, allocations: 32.09 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.7665, allocations: 70.33 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.7666, allocations: 129.5 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.7667, allocations: 171.9 kB / 1.277 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.7672, allocations: 494 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7672, allocations: 4.688 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7672, allocations: 0 / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.7672, allocations: 0.75 kB / 1.277 GB, free: 4.129 MB / 0.9981 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.001055/0.7682, allocations: 0.7194 MB / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7683, allocations: 9.297 kB / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.7683, allocations: 51.69 kB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008166/0.7691, allocations: 145 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.7695, allocations: 350.4 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.994e-05/0.7696, allocations: 90.41 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.7696, allocations: 15.75 kB / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006749/0.7703, allocations: 301.3 kB / 1.279 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7703, allocations: 0 / 1.279 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.7703, allocations: 9.719 kB / 1.279 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.7703, allocations: 2.719 kB / 1.279 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.7714, allocations: 410 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.7729, allocations: 0.8717 MB / 1.28 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.7735, allocations: 254.1 kB / 1.28 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.774, allocations: 212.3 kB / 1.28 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.7741, allocations: 1.875 kB / 1.28 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.183e-05/0.7741, allocations: 40.45 kB / 1.28 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.7741, allocations: 0 / 1.28 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.001713/0.7758, allocations: 0.6493 MB / 1.281 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.7758, allocations: 57.62 kB / 1.281 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.7762, allocations: 425.7 kB / 1.281 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.7762, allocations: 30.86 kB / 1.281 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.7763, allocations: 180 kB / 1.282 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.7764, allocations: 64.23 kB / 1.282 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.7765, allocations: 37.69 kB / 1.282 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.7765, allocations: 348.8 kB / 1.282 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.777, allocations: 197.4 kB / 1.282 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.7775, allocations: 232.3 kB / 1.283 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009262/0.7785, allocations: 371 kB / 1.283 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7785, allocations: 0 / 1.283 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001093/0.7796, allocations: 461.5 kB / 1.283 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7796, allocations: 5.531 kB / 1.283 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7796, allocations: 1.875 kB / 1.283 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7796, allocations: 0 / 1.283 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.78, allocations: 71.8 kB / 1.283 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.78, allocations: 0 / 1.283 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.7804, allocations: 48.39 kB / 1.283 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.7804, allocations: 9.781 kB / 1.283 GB, free: 488 kB / 0.9981 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.000138/0.7805, allocations: 166.8 kB / 1.284 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.7806, allocations: 33.86 kB / 1.284 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.7806, allocations: 41.3 kB / 1.284 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7807, allocations: 8.125 kB / 1.284 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7807, allocations: 0 / 1.284 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7807, allocations: 4.797 kB / 1.284 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.7811, allocations: 471 kB / 1.284 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7811, allocations: 0 / 1.284 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/0.7816, allocations: 64.05 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7816, allocations: 2.875 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.7816, allocations: 1.969 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.7816, allocations: 5.781 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7816, allocations: 0 / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.7828, allocations: 0.5548 MB / 1.285 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.7829, allocations: 128.4 kB / 1.285 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.7829, allocations: 12 kB / 1.285 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.7833, allocations: 37.92 kB / 1.285 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7834, allocations: 21.42 kB / 1.285 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.7834, allocations: 7.031 kB / 1.285 GB, free: 15.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003268/0.7837, allocations: 311 kB / 1.285 GB, free: 15.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7837, allocations: 3.938 kB / 1.285 GB, free: 15.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003233/0.7841, allocations: 59.94 kB / 1.285 GB, free: 15.36 MB / 1.014 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.001598/0.7857, allocations: 1.095 MB / 1.286 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.7869, allocations: 425.6 kB / 1.287 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7869, allocations: 0 / 1.287 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005918/0.7875, allocations: 217.2 kB / 1.287 GB, free: 14.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.7879, allocations: 54.52 kB / 1.287 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/0.7945, allocations: 4.145 MB / 1.291 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.7949, allocations: 0.7912 MB / 1.292 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002687/0.7951, allocations: 67.11 kB / 1.292 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.7954, allocations: 101.9 kB / 1.292 GB, free: 11.25 MB / 1.014 GB Notification: Performance of SimCode: time 7.62e-07/0.7954, allocations: 0 / 1.292 GB, free: 11.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.8287, allocations: 7.976 MB / 1.3 GB, free: 10.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/8.341, allocations: 9.875 kB / 1.3 GB, free: 10.42 MB / 1.014 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/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: 13.759573477997037]