Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001188/0.001188, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 186.9 kB / 16.92 MB, free: 6.922 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004154, allocations: 9.531 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3527, allocations: 159.6 MB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003502/0.3563, allocations: 2.089 MB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002762/0.3591, allocations: 1.382 MB / 1.063 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.3595, allocations: 0 / 1.063 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008766/0.3604, allocations: 191 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.3607, allocations: 71.47 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.3612, allocations: 95.84 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000503/0.3617, allocations: 314.8 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3619, allocations: 48.73 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.3622, allocations: 119.5 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.3626, allocations: 171.3 kB / 1.064 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/0.3627, allocations: 23.94 kB / 1.064 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.3629, allocations: 55.95 kB / 1.064 GB, free: 468 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.3631, allocations: 111.7 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.3633, allocations: 188.8 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.3638, allocations: 367.3 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3638, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3638, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.3638, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 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.001413/0.3652, allocations: 0.6631 MB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3653, allocations: 15.97 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.3663, allocations: 172.3 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.3669, allocations: 362.2 kB / 1.066 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.367, allocations: 80.19 kB / 1.066 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.3671, allocations: 12.38 kB / 1.066 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.3679, allocations: 320.1 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3679, allocations: 7.922 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.368, allocations: 8 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.368, allocations: 0 / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.3692, allocations: 468.4 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.371, allocations: 0.8746 MB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.3718, allocations: 290.4 kB / 1.068 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.3724, allocations: 244.7 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.3724, allocations: 0 / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3724, allocations: 34.56 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.3725, allocations: 0 / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001912/0.3744, allocations: 0.7135 MB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3744, allocations: 59.34 kB / 1.069 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.3749, allocations: 425.6 kB / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.375, allocations: 33.7 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.3751, allocations: 180 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.3752, allocations: 63.05 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.3752, allocations: 17.72 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3754, allocations: 350.8 kB / 1.07 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.3759, allocations: 215.8 kB / 1.07 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/0.3765, allocations: 249.5 kB / 1.07 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3776, allocations: 416.5 kB / 1.07 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3776, allocations: 0 / 1.07 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001206/0.3788, allocations: 0.5024 MB / 1.071 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3788, allocations: 8 kB / 1.071 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3789, allocations: 3.938 kB / 1.071 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3789, allocations: 0 / 1.071 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.3794, allocations: 67.92 kB / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3794, allocations: 7.938 kB / 1.071 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.3797, allocations: 51.86 kB / 1.071 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3798, allocations: 4 kB / 1.071 GB, free: 8.719 MB / 0.8262 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.0001921/0.38, allocations: 169.8 kB / 1.071 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.38, allocations: 35.53 kB / 1.071 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.028e-05/0.3801, allocations: 47.58 kB / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3801, allocations: 0 / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3802, allocations: 3.938 kB / 1.071 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3802, allocations: 4 kB / 1.071 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005617/0.3807, allocations: 478.9 kB / 1.072 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3807, allocations: 3.984 kB / 1.072 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.3812, allocations: 71.88 kB / 1.072 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3812, allocations: 0 / 1.072 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.3812, allocations: 11.98 kB / 1.072 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3812, allocations: 0 / 1.072 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3813, allocations: 3.938 kB / 1.072 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.3825, allocations: 0.5864 MB / 1.072 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.3826, allocations: 124.6 kB / 1.073 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.3827, allocations: 0 / 1.073 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.3831, allocations: 47.95 kB / 1.073 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3832, allocations: 31.89 kB / 1.073 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3832, allocations: 8 kB / 1.073 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000326/0.3835, allocations: 307.1 kB / 1.073 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3835, allocations: 3.938 kB / 1.073 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003175/0.3839, allocations: 64 kB / 1.073 GB, free: 6.652 MB / 0.8262 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.0001531/0.384, allocations: 107.2 kB / 1.073 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.3853, allocations: 481.2 kB / 1.074 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3853, allocations: 4 kB / 1.074 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005947/0.3859, allocations: 247.8 kB / 1.074 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.3864, allocations: 50.83 kB / 1.074 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3878, allocations: 0.8244 MB / 1.075 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3882, allocations: 0.795 MB / 1.075 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.3884, allocations: 27.42 kB / 1.075 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3884, allocations: 0 / 1.075 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of Templates: time 0.007233/0.3956, allocations: 4.906 MB / 1.08 GB, free: 15.2 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches