Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_10_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.001096/0.001096, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.008481/0.008481, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.288/2.288, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004583, allocations: 12 kB / 0.873 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5677, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002103/0.5698, allocations: 2.079 MB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.5715, allocations: 1.368 MB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.5716, allocations: 4 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.572, allocations: 191 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.5722, allocations: 63.47 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.5724, allocations: 103.8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.5727, allocations: 318.8 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.656e-05/0.5728, allocations: 40.72 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.573, allocations: 123.5 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.5732, allocations: 175.3 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.5733, allocations: 27.88 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.5734, allocations: 55.97 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.5735, allocations: 103.7 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.5736, allocations: 188.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.574, allocations: 468.6 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.574, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.574, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.574, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 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.0009852/0.575, allocations: 0.6618 MB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.5751, allocations: 8.031 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.77e-05/0.5751, allocations: 50.73 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008313/0.576, allocations: 180.2 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.5763, allocations: 350.2 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.081e-05/0.5764, allocations: 84.19 kB / 1.03 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.5765, allocations: 8.375 kB / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006979/0.5772, allocations: 328.3 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.5772, allocations: 0 / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.5772, allocations: 8 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5772, allocations: 3.938 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.5784, allocations: 460.4 kB / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.5798, allocations: 0.8746 MB / 1.031 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.5804, allocations: 294.4 kB / 1.031 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00053/0.5809, allocations: 240.7 kB / 1.032 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.581, allocations: 3.984 kB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.581, allocations: 38.56 kB / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.581, allocations: 0 / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001709/0.5827, allocations: 0.7102 MB / 1.032 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.5828, allocations: 55.34 kB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.5832, allocations: 433.5 kB / 1.033 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.5833, allocations: 25.7 kB / 1.033 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.5834, allocations: 180 kB / 1.033 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.5834, allocations: 63.11 kB / 1.033 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.5835, allocations: 21.7 kB / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5836, allocations: 346.8 kB / 1.034 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/0.5841, allocations: 219.8 kB / 1.034 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.5847, allocations: 248.4 kB / 1.034 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.5858, allocations: 417.8 kB / 1.034 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5858, allocations: 0 / 1.034 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001158/0.587, allocations: 0.495 MB / 1.035 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.587, allocations: 8 kB / 1.035 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.587, allocations: 0 / 1.035 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.587, allocations: 0 / 1.035 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.5875, allocations: 83.8 kB / 1.035 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5875, allocations: 3.938 kB / 1.035 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.5878, allocations: 59.8 kB / 1.035 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.5879, allocations: 7.984 kB / 1.035 GB, free: 3.387 MB / 0.7794 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.0001575/0.588, allocations: 153.8 kB / 1.035 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.5881, allocations: 43.52 kB / 1.035 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.5882, allocations: 39.59 kB / 1.035 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.5882, allocations: 3.938 kB / 1.035 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5882, allocations: 0 / 1.035 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5882, allocations: 8 kB / 1.035 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.5887, allocations: 474.9 kB / 1.036 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5887, allocations: 4 kB / 1.036 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.5891, allocations: 71.86 kB / 1.036 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5891, allocations: 48 / 1.036 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.5891, allocations: 11.92 kB / 1.036 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5892, allocations: 11.94 kB / 1.036 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.5892, allocations: 0 / 1.036 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.5904, allocations: 0.5887 MB / 1.036 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.5905, allocations: 112.6 kB / 1.036 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.5905, allocations: 4 kB / 1.036 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.5909, allocations: 55.88 kB / 1.037 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.591, allocations: 19.97 kB / 1.037 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.591, allocations: 4 kB / 1.037 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002947/0.5913, allocations: 311.1 kB / 1.037 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.813e-06/0.5913, allocations: 0 / 1.037 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003071/0.5916, allocations: 67.94 kB / 1.037 GB, free: 1.332 MB / 0.7794 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.001463/0.5931, allocations: 1.147 MB / 1.038 GB, free: 164 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.5943, allocations: 477.3 kB / 1.038 GB, free: 15.69 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5943, allocations: 4 kB / 1.038 GB, free: 15.69 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.5949, allocations: 247.8 kB / 1.039 GB, free: 15.45 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.5953, allocations: 50.17 kB / 1.039 GB, free: 15.39 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/0.6018, allocations: 4.396 MB / 1.043 GB, free: 10.93 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.6021, allocations: 0.7948 MB / 1.044 GB, free: 10.11 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002624/0.6023, allocations: 58.27 kB / 1.044 GB, free: 10.05 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.6026, allocations: 103.4 kB / 1.044 GB, free: 9.949 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/0.6026, allocations: 0 / 1.044 GB, free: 9.949 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.04/1.643, allocations: 7.363 MB / 1.051 GB, free: 2.816 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/1.643, allocations: 218.6 kB / 1.051 GB, free: 2.566 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.997, allocations: 4 kB / 1.051 GB, free: 2.562 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches