Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004749/0.004749, allocations: 100.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 189.1 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.88 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8046, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003667/0.8083, allocations: 2.378 MB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.8104, allocations: 1.394 MB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.8106, allocations: 7.344 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.8113, allocations: 204.8 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.8116, allocations: 76.48 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.812, allocations: 120.9 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.8126, allocations: 326.3 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.8127, allocations: 58.83 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.813, allocations: 133.6 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.8133, allocations: 181.5 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.8133, allocations: 31.78 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.8135, allocations: 69.27 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.8137, allocations: 113.6 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.8138, allocations: 179.8 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.8144, allocations: 497.7 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8145, allocations: 0.8125 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8145, allocations: 4 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.8145, allocations: 0 / 1.093 GB, free: 1.695 MB / 0.8575 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.001211/0.8157, allocations: 0.7017 MB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.8157, allocations: 10.52 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/0.8158, allocations: 49.98 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009013/0.8167, allocations: 146.6 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.8171, allocations: 353.6 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.8172, allocations: 84.59 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.8173, allocations: 12.91 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/0.8181, allocations: 305.9 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.8181, allocations: 0 / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.8181, allocations: 1.75 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8181, allocations: 2.219 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.8193, allocations: 424.7 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.821, allocations: 0.8538 MB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.8218, allocations: 275.3 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/0.8224, allocations: 214.8 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.8224, allocations: 2.062 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.8225, allocations: 32.39 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.634e-06/0.8225, allocations: 0.9062 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001924/0.8244, allocations: 0.6544 MB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.8244, allocations: 62.77 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.8249, allocations: 424.5 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.825, allocations: 30.77 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.8251, allocations: 175.9 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.8252, allocations: 59.97 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.8253, allocations: 37.05 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8255, allocations: 348.5 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/0.8261, allocations: 198.2 kB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.8267, allocations: 231 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.8277, allocations: 373.9 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8278, allocations: 0 / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00128/0.829, allocations: 463.2 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.8291, allocations: 5.453 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8291, allocations: 1 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.8291, allocations: 1.094 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.8296, allocations: 70.28 kB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.8296, allocations: 1.062 kB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.83, allocations: 39.64 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.8301, allocations: 9.344 kB / 1.099 GB, free: 14.07 MB / 0.8731 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.0002121/0.8303, allocations: 165.2 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.8304, allocations: 36.08 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.643e-05/0.8305, allocations: 44.94 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.8305, allocations: 5.969 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.8305, allocations: 2 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.8305, allocations: 0.6094 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006358/0.8311, allocations: 481.8 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8311, allocations: 0 / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.8316, allocations: 61.86 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.8316, allocations: 2.156 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.8316, allocations: 2.984 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.8316, allocations: 9.062 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8317, allocations: 3.984 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.833, allocations: 0.5545 MB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.8331, allocations: 115.4 kB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.8332, allocations: 9.828 kB / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.8336, allocations: 32.33 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.8337, allocations: 26.88 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.8337, allocations: 5.328 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003933/0.8341, allocations: 311 kB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8341, allocations: 0 / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003818/0.8345, allocations: 65.75 kB / 1.101 GB, free: 12.95 MB / 0.8731 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.001852/0.8364, allocations: 1.105 MB / 1.102 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.8378, allocations: 437.8 kB / 1.103 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8378, allocations: 0 / 1.103 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006382/0.8384, allocations: 228.8 kB / 1.103 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.8389, allocations: 50.94 kB / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007613/0.8465, allocations: 4.111 MB / 1.107 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.847, allocations: 0.7988 MB / 1.108 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003261/0.8473, allocations: 55.97 kB / 1.108 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.8476, allocations: 109 kB / 1.108 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of SimCode: time 8.02e-07/0.8476, allocations: 0 / 1.108 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.877, allocations: 7.908 MB / 1.116 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/8.424, allocations: 15.44 kB / 1.116 GB, free: 8.07 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv --start-time 0 --stop-time 2600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.04 Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches