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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001368/0.001368, 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.001583/0.001584, allocations: 202 kB / 16.79 MB, free: 6.828 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001669, allocations: 71.89 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7167/0.7183, allocations: 140.3 MB / 0.9496 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003704/0.7221, allocations: 2.432 MB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.7241, allocations: 1.383 MB / 0.9533 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.7242, allocations: 1.406 kB / 0.9533 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.7249, allocations: 198.2 kB / 0.9535 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.7251, allocations: 65.28 kB / 0.9536 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.7254, allocations: 105.3 kB / 0.9537 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.7257, allocations: 310.9 kB / 0.954 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.7258, allocations: 50.23 kB / 0.954 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.726, allocations: 127.8 kB / 0.9541 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.7263, allocations: 184 kB / 0.9543 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.7263, allocations: 21.16 kB / 0.9543 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.7265, allocations: 54.22 kB / 0.9544 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.7266, allocations: 113.1 kB / 0.9545 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.7267, allocations: 161.7 kB / 0.9546 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.727, allocations: 384.6 kB / 0.955 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7271, allocations: 3.938 kB / 0.955 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7271, allocations: 0 / 0.955 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.7271, allocations: 0 / 0.955 GB, free: 5.086 MB / 0.7169 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.00117/0.7283, allocations: 0.7083 MB / 0.9557 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.7283, allocations: 13.59 kB / 0.9557 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000858/0.7292, allocations: 145.7 kB / 0.9558 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.7296, allocations: 352.6 kB / 0.9562 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.7297, allocations: 87.16 kB / 0.9563 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.7297, allocations: 13.25 kB / 0.9563 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007314/0.7305, allocations: 300.4 kB / 0.9566 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.7305, allocations: 0 / 0.9566 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.7305, allocations: 5.062 kB / 0.9566 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.7305, allocations: 3.031 kB / 0.9566 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.7316, allocations: 422.2 kB / 0.957 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.7332, allocations: 0.857 MB / 0.9578 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.7338, allocations: 269.5 kB / 0.9581 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.7344, allocations: 217.1 kB / 0.9583 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.7344, allocations: 1.688 kB / 0.9583 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.7344, allocations: 35.94 kB / 0.9583 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.764e-06/0.7344, allocations: 0 / 0.9583 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001715/0.7362, allocations: 0.6501 MB / 0.9589 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.7362, allocations: 61.48 kB / 0.959 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.7366, allocations: 426.2 kB / 0.9594 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.7367, allocations: 26.77 kB / 0.9594 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.7368, allocations: 181.8 kB / 0.9596 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.7369, allocations: 61.69 kB / 0.9597 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.737, allocations: 44.03 kB / 0.9597 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.7371, allocations: 347.8 kB / 0.96 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.7376, allocations: 192.4 kB / 0.9602 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.7381, allocations: 227.1 kB / 0.9604 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009274/0.7391, allocations: 377.1 kB / 0.9608 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7391, allocations: 0 / 0.9608 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001133/0.7402, allocations: 470.6 kB / 0.9613 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.7402, allocations: 4.25 kB / 0.9613 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.7402, allocations: 1.156 kB / 0.9613 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.7403, allocations: 0 / 0.9613 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.7408, allocations: 59.27 kB / 0.9613 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.7408, allocations: 8.938 kB / 0.9613 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.7411, allocations: 46.98 kB / 0.9614 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.7412, allocations: 7.609 kB / 0.9614 GB, free: 0.5156 MB / 0.7169 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.0002007/0.7414, allocations: 165.6 kB / 0.9615 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/0.7415, allocations: 31.97 kB / 0.9616 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.7416, allocations: 40.03 kB / 0.9616 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7416, allocations: 2.125 kB / 0.9616 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.7416, allocations: 3.984 kB / 0.9616 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7416, allocations: 12.98 kB / 0.9616 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.7421, allocations: 474.6 kB / 0.9621 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7421, allocations: 3.938 kB / 0.9621 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.7426, allocations: 63.55 kB / 0.9621 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7426, allocations: 1 kB / 0.9621 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.7426, allocations: 5.094 kB / 0.9621 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.7426, allocations: 1.062 kB / 0.9621 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.7426, allocations: 3.938 kB / 0.9621 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.7439, allocations: 0.5572 MB / 0.9627 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.744, allocations: 112.3 kB / 0.9628 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.744, allocations: 1.062 kB / 0.9628 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.7444, allocations: 40.41 kB / 0.9628 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.7445, allocations: 26.31 kB / 0.9629 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.7446, allocations: 11.64 kB / 0.9629 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003593/0.7449, allocations: 303.1 kB / 0.9632 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7449, allocations: 3.938 kB / 0.9632 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003502/0.7453, allocations: 61.84 kB / 0.9632 GB, free: 15.14 MB / 0.7325 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.0001706/0.7455, allocations: 114.1 kB / 0.9633 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.7466, allocations: 424.8 kB / 0.9637 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7466, allocations: 1.188 kB / 0.9637 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.7472, allocations: 240.7 kB / 0.964 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.7477, allocations: 41.2 kB / 0.964 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.7494, allocations: 0.7947 MB / 0.9648 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.7498, allocations: 0.7939 MB / 0.9656 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.7501, allocations: 27.52 kB / 0.9656 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.7501, allocations: 0 / 0.9656 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of Templates: time 0.00882/0.7589, allocations: 4.952 MB / 0.9704 GB, free: 10.81 MB / 0.7325 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