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: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_10_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_10_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.001565/0.001565, allocations: 100.1 kB / 15.88 MB, free: 12 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.001726/0.001725, allocations: 200.4 kB / 16.79 MB, free: 6.809 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.535 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.599/2.599, allocations: 437 MB / 0.7106 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 63.91 kB / 0.8692 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6728/0.6747, allocations: 151.6 MB / 1.017 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004142/0.6789, allocations: 2.441 MB / 1.02 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.6811, allocations: 1.395 MB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.6813, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.6819, allocations: 195 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.6821, allocations: 67.47 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.6824, allocations: 99.83 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.6828, allocations: 314.8 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.6829, allocations: 48.67 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.6831, allocations: 119.5 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.6834, allocations: 179.3 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.6835, allocations: 24 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.6836, allocations: 63.89 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.6838, allocations: 111.7 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.684, allocations: 163.1 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.6844, allocations: 381.1 kB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6844, allocations: 0 / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6844, allocations: 0 / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.6844, allocations: 0 / 1.023 GB, free: 13.25 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.001382/0.6858, allocations: 0.7083 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6858, allocations: 8.031 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008587/0.6867, allocations: 152.2 kB / 1.024 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.6872, allocations: 342.3 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.6874, allocations: 88.17 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.6874, allocations: 12.38 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007512/0.6882, allocations: 305 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.6882, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.6883, allocations: 11.98 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.6883, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.6894, allocations: 420.4 kB / 1.025 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.6912, allocations: 0.8628 MB / 1.026 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.692, allocations: 270.4 kB / 1.026 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.6925, allocations: 212.7 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.6926, allocations: 4 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.6926, allocations: 38.56 kB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.6926, allocations: 0 / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001858/0.6945, allocations: 0.6513 MB / 1.027 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.6945, allocations: 59.34 kB / 1.027 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.695, allocations: 425.6 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.6951, allocations: 29.7 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.6952, allocations: 180 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/0.6953, allocations: 67.09 kB / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.6954, allocations: 37.69 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.6956, allocations: 346.8 kB / 1.028 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/0.6962, allocations: 195.9 kB / 1.028 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.6967, allocations: 228.7 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009599/0.6977, allocations: 374.3 kB / 1.029 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6977, allocations: 0 / 1.029 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001142/0.6988, allocations: 460.8 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.6989, allocations: 8 kB / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6989, allocations: 0 / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.6989, allocations: 7.938 kB / 1.029 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.6994, allocations: 59.92 kB / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.6994, allocations: 11.88 kB / 1.029 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.6997, allocations: 39.78 kB / 1.029 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.6998, allocations: 8 kB / 1.029 GB, free: 6.484 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.0001959/0.7, allocations: 166.3 kB / 1.029 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.7001, allocations: 31.62 kB / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.7001, allocations: 39.59 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7001, allocations: 4 kB / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7001, allocations: 3.938 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7002, allocations: 4 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.7007, allocations: 478.8 kB / 1.03 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7007, allocations: 0 / 1.03 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.7011, allocations: 71.86 kB / 1.03 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.7011, allocations: 0 / 1.03 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.7012, allocations: 4 kB / 1.03 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.7012, allocations: 0 / 1.03 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7012, allocations: 7.922 kB / 1.03 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.7023, allocations: 0.5481 MB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.872e-05/0.7024, allocations: 112.6 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.7025, allocations: 11.98 kB / 1.031 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.7028, allocations: 27.95 kB / 1.031 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.703, allocations: 31.91 kB / 1.031 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.703, allocations: 7.984 kB / 1.031 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003362/0.7033, allocations: 303.1 kB / 1.031 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.035e-06/0.7033, allocations: 0 / 1.031 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003343/0.7037, allocations: 75.88 kB / 1.031 GB, free: 4.488 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.0001374/0.7038, allocations: 105.1 kB / 1.031 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.705, allocations: 439.5 kB / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.705, allocations: 3.938 kB / 1.031 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.7055, allocations: 233 kB / 1.032 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.706, allocations: 48.39 kB / 1.032 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.7074, allocations: 0.7861 MB / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.7078, allocations: 0.795 MB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.708, allocations: 27.42 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.708, allocations: 0 / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of Templates: time 0.007342/0.7154, allocations: 4.933 MB / 1.038 GB, free: 13.11 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (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 & ./Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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