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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00442/0.00442, allocations: 96.7 kB / 15.73 MB, free: 6.047 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: 194.3 kB / 16.67 MB, free: 5.973 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.215/2.215, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 70.86 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2622, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003591/0.2658, allocations: 2.378 MB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2679, allocations: 1.391 MB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.2681, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.2687, allocations: 214.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.2689, allocations: 75.34 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.2692, allocations: 115.7 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.2697, allocations: 330.7 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.2698, allocations: 48.72 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.27, allocations: 139.5 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.2703, allocations: 183.3 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.2704, allocations: 32 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.2706, allocations: 71.91 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.2707, allocations: 119.7 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.2709, allocations: 171 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.2714, allocations: 498.3 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2714, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2714, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.2714, allocations: 4 kB / 1.093 GB, free: 12.25 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.001333/0.2728, allocations: 0.7197 MB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2728, allocations: 12.03 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.112e-05/0.2729, allocations: 58.67 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008741/0.2738, allocations: 144.5 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.2743, allocations: 354.6 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.2744, allocations: 92.16 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.2744, allocations: 12.38 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007324/0.2752, allocations: 299.2 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2752, allocations: 4 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.2752, allocations: 4 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2752, allocations: 4 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.2764, allocations: 416.4 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.278, allocations: 0.8557 MB / 1.096 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.2787, allocations: 274.4 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.2793, allocations: 208.7 kB / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.2793, allocations: 4 kB / 1.096 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.2793, allocations: 30.56 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/0.2794, allocations: 0 / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.002119/0.2815, allocations: 0.6591 MB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.2815, allocations: 63.34 kB / 1.097 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.282, allocations: 421.6 kB / 1.098 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.282, allocations: 29.7 kB / 1.098 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.2822, allocations: 176.1 kB / 1.098 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.2822, allocations: 63.47 kB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2824, allocations: 41.69 kB / 1.098 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2825, allocations: 346.8 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.283, allocations: 195.9 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/0.2836, allocations: 237.3 kB / 1.099 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.2846, allocations: 374.9 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2846, allocations: 0 / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001197/0.2858, allocations: 465 kB / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2859, allocations: 4 kB / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2859, allocations: 0 / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2859, allocations: 0 / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.2864, allocations: 71.8 kB / 1.099 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.2864, allocations: 4 kB / 1.099 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.2867, allocations: 43.88 kB / 1.099 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.2868, allocations: 7.938 kB / 1.099 GB, free: 5.402 MB / 0.8575 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.0001861/0.287, allocations: 161.8 kB / 1.1 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.2871, allocations: 39.72 kB / 1.1 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/0.2871, allocations: 39.59 kB / 1.1 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.2871, allocations: 11.88 kB / 1.1 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2872, allocations: 4 kB / 1.1 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2872, allocations: 3.984 kB / 1.1 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.2877, allocations: 474.9 kB / 1.1 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2877, allocations: 0 / 1.1 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.2882, allocations: 63.86 kB / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.2882, allocations: 0 / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.2882, allocations: 8 kB / 1.1 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.2882, allocations: 11.92 kB / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2882, allocations: 0 / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.2894, allocations: 0.5477 MB / 1.101 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.2896, allocations: 120.9 kB / 1.101 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.2896, allocations: 4 kB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.29, allocations: 35.89 kB / 1.101 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.2901, allocations: 23.97 kB / 1.101 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.2901, allocations: 8.031 kB / 1.101 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003202/0.2904, allocations: 311.1 kB / 1.101 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2904, allocations: 0 / 1.101 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003312/0.2908, allocations: 60 kB / 1.101 GB, free: 3.406 MB / 0.8575 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.001546/0.2923, allocations: 1.103 MB / 1.102 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.2935, allocations: 436.9 kB / 1.103 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2935, allocations: 4 kB / 1.103 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005802/0.2941, allocations: 223.8 kB / 1.103 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.2945, allocations: 53.36 kB / 1.103 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/0.3012, allocations: 4.134 MB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.3016, allocations: 0.787 MB / 1.108 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002657/0.3018, allocations: 62.2 kB / 1.108 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.3021, allocations: 111.4 kB / 1.108 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of SimCode: time 4.3e-07/0.3021, allocations: 0 / 1.108 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.3271, allocations: 7.922 MB / 1.116 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/7.846, allocations: 4.844 kB / 1.116 GB, free: 4.66 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv --start-time 0 --stop-time 2600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.04 Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/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