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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009858/0.0009858, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00095/0.00095, allocations: 173.3 kB / 23.03 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8952/0.8952, allocations: 177.2 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.987/1.987, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/3.077e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00292/0.002951, allocations: 2.426 MB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.004941, allocations: 1.444 MB / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.00508, allocations: 7.938 kB / 0.882 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.005615, allocations: 184.2 kB / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.005737, allocations: 84.97 kB / 0.8822 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.006152, allocations: 133.3 kB / 0.8823 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.006545, allocations: 346.6 kB / 0.8827 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.006676, allocations: 32.39 kB / 0.8827 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.007003, allocations: 195.5 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.007252, allocations: 167.6 kB / 0.883 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.007294, allocations: 32 kB / 0.8831 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.007415, allocations: 75.89 kB / 0.8831 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.092e-05/0.007506, allocations: 119.6 kB / 0.8833 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.007728, allocations: 107.7 kB / 0.8834 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.008157, allocations: 343.7 kB / 0.8837 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.008161, allocations: 0 / 0.8837 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.163e-06/0.008162, allocations: 0.5938 kB / 0.8837 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.008168, allocations: 0 / 0.8837 GB, free: 0.6797 MB / 0.8386 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.0009576/0.009126, allocations: 0.7586 MB / 0.8844 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.009171, allocations: 8.031 kB / 0.8844 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005425/0.009713, allocations: 168.5 kB / 0.8846 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.01006, allocations: 290.8 kB / 0.8849 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.01019, allocations: 187 kB / 0.8851 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.01022, allocations: 12.38 kB / 0.8851 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.01057, allocations: 205.8 kB / 0.8853 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.01058, allocations: 192 / 0.8853 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.0106, allocations: 8.125 kB / 0.8853 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.01061, allocations: 7.984 kB / 0.8853 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.01086, allocations: 141.5 kB / 0.8854 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.01184, allocations: 0.6797 MB / 0.8861 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.01211, allocations: 151 kB / 0.8862 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.01223, allocations: 79.66 kB / 0.8863 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.01225, allocations: 4 kB / 0.8863 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.01228, allocations: 45.33 kB / 0.8863 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.01228, allocations: 0 / 0.8863 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0005295/0.01281, allocations: 289.6 kB / 0.8866 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.01284, allocations: 51.41 kB / 0.8867 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.01342, allocations: 450.7 kB / 0.8871 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.01345, allocations: 33.7 kB / 0.8871 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.01358, allocations: 251.2 kB / 0.8874 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.01363, allocations: 59.44 kB / 0.8874 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-05/0.0137, allocations: 43.36 kB / 0.8875 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.01384, allocations: 0.543 MB / 0.888 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.01397, allocations: 63.97 kB / 0.8881 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.01414, allocations: 189.8 kB / 0.8882 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.01435, allocations: 122.3 kB / 0.8884 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01435, allocations: 0 / 0.8884 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003279/0.01468, allocations: 217.3 kB / 0.8886 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.0147, allocations: 7.984 kB / 0.8886 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.0147, allocations: 0 / 0.8886 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01472, allocations: 0 / 0.8886 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.01495, allocations: 55.89 kB / 0.8886 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01495, allocations: 0 / 0.8886 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.01507, allocations: 27.92 kB / 0.8887 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.01509, allocations: 7.984 kB / 0.8887 GB, free: 11.32 MB / 0.8542 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.000103/0.01519, allocations: 168.5 kB / 0.8888 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.01525, allocations: 43.77 kB / 0.8889 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.01529, allocations: 39.45 kB / 0.8889 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.0153, allocations: 0 / 0.8889 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.0153, allocations: 3.938 kB / 0.8889 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.0153, allocations: 0 / 0.8889 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.01561, allocations: 350.1 kB / 0.8892 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01561, allocations: 0 / 0.8892 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.01578, allocations: 47.95 kB / 0.8893 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01578, allocations: 11.98 kB / 0.8893 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.0158, allocations: 0 / 0.8893 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.0158, allocations: 0 / 0.8893 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.0158, allocations: 0 / 0.8893 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.0162, allocations: 381.6 kB / 0.8897 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.01624, allocations: 43.69 kB / 0.8897 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.01628, allocations: 8 kB / 0.8897 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.01641, allocations: 19.97 kB / 0.8897 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.01648, allocations: 27.95 kB / 0.8898 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.0165, allocations: 4 kB / 0.8898 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001871/0.01669, allocations: 291.1 kB / 0.89 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01669, allocations: 0 / 0.89 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002263/0.01691, allocations: 64 kB / 0.8901 GB, free: 9.781 MB / 0.8542 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.0001043/0.01702, allocations: 95.25 kB / 0.8902 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.0174, allocations: 191.4 kB / 0.8904 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.0174, allocations: 0 / 0.8904 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.01757, allocations: 105.8 kB / 0.8905 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.01788, allocations: 77.31 kB / 0.8905 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.01894, allocations: 0.5806 MB / 0.8911 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.644e-05/0.019, allocations: 104.3 kB / 0.8912 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.01916, allocations: 46.27 kB / 0.8913 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.01927, allocations: 32.48 kB / 0.8913 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of SimCode: time 1.162e-06/0.01927, allocations: 0 / 0.8913 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of Templates: time 0.006985/0.02626, allocations: 4.699 MB / 0.8959 GB, free: 3.871 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.281718196347356]