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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_11_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_11_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.001544/0.001545, allocations: 112.9 kB / 15.99 MB, free: 6.348 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.001557/0.001557, allocations: 195.2 kB / 16.91 MB, free: 6.188 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.431/1.431, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 65.06 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.338, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004441/0.3425, allocations: 2.428 MB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.3449, allocations: 1.382 MB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.3452, allocations: 3.938 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.346, allocations: 191.1 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.3462, allocations: 67.42 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.3467, allocations: 103.8 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.3472, allocations: 330.7 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.3474, allocations: 56.7 kB / 1.069 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.3477, allocations: 127.5 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.348, allocations: 187.3 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.523e-05/0.3481, allocations: 32 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.3483, allocations: 71.95 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.3485, allocations: 115.6 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.3487, allocations: 187 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.3492, allocations: 383.5 kB / 1.07 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3492, allocations: 0 / 1.07 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3492, allocations: 0 / 1.07 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.3492, allocations: 0 / 1.07 GB, free: 9.426 MB / 0.8419 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.001493/0.3507, allocations: 0.7004 MB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3508, allocations: 8.625 kB / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009319/0.3517, allocations: 152.3 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.3522, allocations: 350.2 kB / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.3524, allocations: 88.17 kB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.3524, allocations: 8.375 kB / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007762/0.3532, allocations: 303.4 kB / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3532, allocations: 0 / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.3533, allocations: 7.984 kB / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3533, allocations: 4 kB / 1.071 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.3544, allocations: 416.4 kB / 1.072 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.3562, allocations: 0.8511 MB / 1.072 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.3569, allocations: 278.4 kB / 1.073 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.3575, allocations: 212.7 kB / 1.073 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.3576, allocations: 11.91 kB / 1.073 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.3576, allocations: 38.56 kB / 1.073 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.3576, allocations: 0 / 1.073 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001802/0.3594, allocations: 0.6477 MB / 1.074 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.3595, allocations: 59.34 kB / 1.074 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.36, allocations: 425.6 kB / 1.074 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.3601, allocations: 25.7 kB / 1.074 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.3602, allocations: 180 kB / 1.074 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.678e-05/0.3603, allocations: 59.09 kB / 1.074 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3604, allocations: 45.7 kB / 1.074 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3606, allocations: 346.8 kB / 1.075 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/0.3611, allocations: 191.8 kB / 1.075 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.3617, allocations: 235.2 kB / 1.075 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009737/0.3627, allocations: 378.8 kB / 1.075 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3627, allocations: 3.938 kB / 1.075 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001177/0.3639, allocations: 457 kB / 1.076 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3639, allocations: 4 kB / 1.076 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3639, allocations: 4 kB / 1.076 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.364, allocations: 3.984 kB / 1.076 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.3644, allocations: 59.88 kB / 1.076 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3645, allocations: 3.938 kB / 1.076 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.3648, allocations: 43.84 kB / 1.076 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.3648, allocations: 4 kB / 1.076 GB, free: 2.668 MB / 0.8419 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.0002101/0.365, allocations: 172 kB / 1.076 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.3651, allocations: 35.53 kB / 1.076 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.3652, allocations: 39.59 kB / 1.076 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.3652, allocations: 4 kB / 1.076 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.3652, allocations: 11.88 kB / 1.076 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3652, allocations: 3.984 kB / 1.076 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.3658, allocations: 474.9 kB / 1.077 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3658, allocations: 0 / 1.077 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.3663, allocations: 63.92 kB / 1.077 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3663, allocations: 0 / 1.077 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.3663, allocations: 7.984 kB / 1.077 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3663, allocations: 4 kB / 1.077 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3663, allocations: 3.938 kB / 1.077 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.3676, allocations: 0.5475 MB / 1.077 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3677, allocations: 124.6 kB / 1.077 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.3677, allocations: 0 / 1.077 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.3681, allocations: 39.89 kB / 1.077 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3682, allocations: 23.91 kB / 1.077 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.3683, allocations: 15.98 kB / 1.078 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003301/0.3686, allocations: 303.1 kB / 1.078 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3686, allocations: 0 / 1.078 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00033/0.3689, allocations: 64 kB / 1.078 GB, free: 0.6719 MB / 0.8419 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.0001569/0.3691, allocations: 103.2 kB / 1.078 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.3703, allocations: 449.4 kB / 1.078 GB, free: 124 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3703, allocations: 3.938 kB / 1.078 GB, free: 120 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.4677/0.8381, allocations: 222.5 kB / 1.079 GB, free: 22.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.8386, allocations: 46.08 kB / 1.079 GB, free: 22.97 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.8401, allocations: 0.7986 MB / 1.079 GB, free: 22.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.8404, allocations: 0.7856 MB / 1.08 GB, free: 21.92 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.8406, allocations: 32.44 kB / 1.08 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of SimCode: time 8.02e-07/0.8406, allocations: 3.906 kB / 1.08 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.009129/0.8497, allocations: 4.957 MB / 1.085 GB, free: 21.64 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (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 & ./Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/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) Reference file matches