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.001731/0.001731, allocations: 105.2 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.002025/0.002025, allocations: 198.9 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.297/2.297, allocations: 390.2 MB / 0.665 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.81 kB / 0.8127 GB, free: 33.31 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.281, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004818/0.2858, allocations: 2.425 MB / 0.9521 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002686/0.2886, allocations: 1.379 MB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.2888, allocations: 0 / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007279/0.2895, allocations: 191 kB / 0.9537 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.2898, allocations: 71.47 kB / 0.9537 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.2902, allocations: 107.8 kB / 0.9538 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.2907, allocations: 322.8 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.2909, allocations: 52.7 kB / 0.9542 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.2912, allocations: 135.5 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.2915, allocations: 187.4 kB / 0.9545 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.747e-05/0.2916, allocations: 36 kB / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.2918, allocations: 63.97 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.292, allocations: 119.6 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003123/0.2923, allocations: 175.1 kB / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.2927, allocations: 391.4 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2927, allocations: 0 / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2927, allocations: 3.938 kB / 0.9553 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2927, allocations: 0 / 0.9553 GB, free: 3.562 MB / 0.7325 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.001297/0.294, allocations: 0.7121 MB / 0.956 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2941, allocations: 8.031 kB / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008523/0.2949, allocations: 144.3 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.2953, allocations: 346.2 kB / 0.9564 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.2955, allocations: 84.19 kB / 0.9565 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.2955, allocations: 20.31 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000723/0.2962, allocations: 301 kB / 0.9568 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2963, allocations: 0 / 0.9568 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.2963, allocations: 8 kB / 0.9568 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2963, allocations: 0 / 0.9568 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.2974, allocations: 416.4 kB / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.299, allocations: 0.8596 MB / 0.9581 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.2996, allocations: 274.3 kB / 0.9583 GB, free: 260 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005271/0.3002, allocations: 220.7 kB / 0.9585 GB, free: 36 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.3002, allocations: 0 / 0.9585 GB, free: 36 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.3003, allocations: 34.56 kB / 0.9586 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 2.665e-06/0.3003, allocations: 0 / 0.9586 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001722/0.302, allocations: 0.6477 MB / 0.9592 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.3021, allocations: 59.34 kB / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/0.3025, allocations: 421.6 kB / 0.9597 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.3026, allocations: 33.7 kB / 0.9597 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3027, allocations: 187.9 kB / 0.9599 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.3028, allocations: 59.09 kB / 0.9599 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3029, allocations: 37.7 kB / 0.96 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.303, allocations: 346.8 kB / 0.9603 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.3036, allocations: 199.8 kB / 0.9605 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.3041, allocations: 231.3 kB / 0.9607 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/0.3051, allocations: 375 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3051, allocations: 0 / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001159/0.3063, allocations: 464.8 kB / 0.9615 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3063, allocations: 4 kB / 0.9615 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3063, allocations: 0 / 0.9615 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3063, allocations: 48 / 0.9615 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.3068, allocations: 71.84 kB / 0.9616 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3068, allocations: 3.938 kB / 0.9616 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.3072, allocations: 39.86 kB / 0.9616 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.3072, allocations: 8 kB / 0.9616 GB, free: 12.79 MB / 0.7481 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.0002151/0.3074, allocations: 163.8 kB / 0.9618 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.3075, allocations: 31.62 kB / 0.9618 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.78e-05/0.3076, allocations: 43.58 kB / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3076, allocations: 4 kB / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.3076, allocations: 3.938 kB / 0.9619 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3077, allocations: 3.938 kB / 0.9619 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/0.3083, allocations: 478.7 kB / 0.9623 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3083, allocations: 0 / 0.9623 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.3088, allocations: 67.86 kB / 0.9624 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3088, allocations: 0 / 0.9624 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.3088, allocations: 7.984 kB / 0.9624 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3088, allocations: 0 / 0.9624 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3088, allocations: 3.938 kB / 0.9624 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.31, allocations: 0.5523 MB / 0.9629 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.3101, allocations: 120.6 kB / 0.9631 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.3102, allocations: 4 kB / 0.9631 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.3105, allocations: 39.95 kB / 0.9631 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3106, allocations: 27.84 kB / 0.9631 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.3107, allocations: 7.984 kB / 0.9631 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003223/0.311, allocations: 311.1 kB / 0.9634 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.311, allocations: 0 / 0.9634 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003299/0.3114, allocations: 64 kB / 0.9635 GB, free: 10.8 MB / 0.7481 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.000126/0.3115, allocations: 95.25 kB / 0.9636 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.3127, allocations: 451.5 kB / 0.964 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3127, allocations: 0 / 0.964 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005641/0.3133, allocations: 231.8 kB / 0.9642 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.3137, allocations: 49.48 kB / 0.9643 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.3152, allocations: 0.7988 MB / 0.9651 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3156, allocations: 0.787 MB / 0.9658 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.3158, allocations: 35.42 kB / 0.9659 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3158, allocations: 0 / 0.9659 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of Templates: time 0.008047/0.3239, allocations: 4.943 MB / 0.9707 GB, free: 3.379 MB / 0.7481 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/jenkins1/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