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: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005508/0.005508, allocations: 99.64 kB / 15.73 MB, free: 6.016 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.001189/0.001189, allocations: 193 kB / 16.67 MB, free: 5.934 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.464/2.464, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.9508 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8076/0.809, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.0031/0.8122, allocations: 2.377 MB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.8139, allocations: 1.391 MB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.814, allocations: 6.75 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005567/0.8146, allocations: 205.2 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.8148, allocations: 73.02 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.8151, allocations: 128.2 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.8155, allocations: 327.5 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.8156, allocations: 51.52 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.8158, allocations: 132.3 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.8161, allocations: 190.3 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.788e-05/0.8162, allocations: 31.34 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.8163, allocations: 69.66 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.8165, allocations: 117 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.8167, allocations: 176.1 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005889/0.8173, allocations: 0.4884 MB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.8173, allocations: 0 / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8173, allocations: 0.9688 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.8173, allocations: 7.938 kB / 1.094 GB, free: 1.891 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.001209/0.8185, allocations: 0.7151 MB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.8186, allocations: 9.719 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009231/0.8195, allocations: 142.6 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.8199, allocations: 357.8 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.82, allocations: 84.67 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.8201, allocations: 12.88 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008052/0.8209, allocations: 306.5 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8209, allocations: 4 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.821, allocations: 1.031 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.821, allocations: 3.5 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.8222, allocations: 415.3 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.824, allocations: 0.8624 MB / 1.096 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.8247, allocations: 275.3 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006221/0.8253, allocations: 219.2 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.8254, allocations: 2.5 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.8254, allocations: 31.47 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.8254, allocations: 0 / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001989/0.8274, allocations: 0.6567 MB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.8275, allocations: 60.53 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.828, allocations: 422.1 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.8281, allocations: 31.05 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.8282, allocations: 180 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.8283, allocations: 58.92 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.8285, allocations: 38.3 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.8286, allocations: 347.8 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.8292, allocations: 197.7 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.8298, allocations: 227.2 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.8309, allocations: 374.8 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.8309, allocations: 0 / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00132/0.8322, allocations: 470.3 kB / 1.1 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.8323, allocations: 6.844 kB / 1.1 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8323, allocations: 0 / 1.1 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.8323, allocations: 1.031 kB / 1.1 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.8328, allocations: 66.16 kB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.8329, allocations: 8.438 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.8332, allocations: 32.8 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.8333, allocations: 9.75 kB / 1.1 GB, free: 14.29 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.0001959/0.8335, allocations: 168 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-05/0.8336, allocations: 45.12 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.142e-05/0.8336, allocations: 40.81 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8337, allocations: 1.719 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.8337, allocations: 9.359 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8337, allocations: 0.6562 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.8343, allocations: 469.8 kB / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8344, allocations: 1.375 kB / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.8348, allocations: 64.75 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.8348, allocations: 1.453 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.8349, allocations: 3.969 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8349, allocations: 1.031 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8349, allocations: 4.734 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.8362, allocations: 0.554 MB / 1.101 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.8363, allocations: 123.4 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.8364, allocations: 5.844 kB / 1.101 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.8368, allocations: 29.45 kB / 1.101 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.8369, allocations: 30.66 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.8369, allocations: 13 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003803/0.8373, allocations: 310.7 kB / 1.102 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8373, allocations: 0 / 1.102 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003853/0.8377, allocations: 61.97 kB / 1.102 GB, free: 13.17 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.0001454/0.8378, allocations: 102.3 kB / 1.102 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.8392, allocations: 437.8 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8392, allocations: 4 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.8398, allocations: 225.1 kB / 1.102 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.8403, allocations: 57.06 kB / 1.103 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.8417, allocations: 0.6775 MB / 1.103 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.8422, allocations: 0.7911 MB / 1.104 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002924/0.8425, allocations: 64.44 kB / 1.104 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.8426, allocations: 29.77 kB / 1.104 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/0.8426, allocations: 1.5 kB / 1.104 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.009268/0.8519, allocations: 4.283 MB / 1.108 GB, free: 11.44 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/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