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.001264/0.001264, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.003296/0.003296, allocations: 169 kB / 23.27 MB, free: 1.223 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.9305/0.9305, allocations: 177.2 MB / 203.7 MB, free: 5.52 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 2.266/2.266, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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 1.864e-06/1.864e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.875e-05, allocations: 9.406 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002366/0.002385, allocations: 2.404 MB / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.003942, allocations: 1.417 MB / 0.8935 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.00405, allocations: 7.938 kB / 0.8935 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.004449, allocations: 182.9 kB / 0.8937 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.625e-05/0.004535, allocations: 79.22 kB / 0.8937 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.004776, allocations: 139.6 kB / 0.8939 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.005037, allocations: 346.9 kB / 0.8942 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.005131, allocations: 28.92 kB / 0.8942 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.005339, allocations: 199.5 kB / 0.8944 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.005532, allocations: 167.6 kB / 0.8946 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.005569, allocations: 28 kB / 0.8946 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.196e-05/0.005661, allocations: 67.97 kB / 0.8947 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.005744, allocations: 127.6 kB / 0.8948 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.108e-05/0.005815, allocations: 115.7 kB / 0.8949 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.006098, allocations: 338.9 kB / 0.8952 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.006099, allocations: 0 / 0.8952 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.71e-07/0.0061, allocations: 0 / 0.8952 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.006104, allocations: 0 / 0.8952 GB, free: 4.133 MB / 0.8542 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.0006741/0.006778, allocations: 0.7555 MB / 0.896 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.006814, allocations: 8.625 kB / 0.896 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004535/0.007267, allocations: 168.5 kB / 0.8961 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.007506, allocations: 270.8 kB / 0.8964 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.007606, allocations: 191 kB / 0.8966 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.007629, allocations: 16.38 kB / 0.8966 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.007893, allocations: 193.3 kB / 0.8968 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.0079, allocations: 192 / 0.8968 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.007919, allocations: 8.125 kB / 0.8968 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.007924, allocations: 4 kB / 0.8968 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.008094, allocations: 106.5 kB / 0.8969 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006848/0.008778, allocations: 0.6021 MB / 0.8975 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.008963, allocations: 131 kB / 0.8976 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.009045, allocations: 67.66 kB / 0.8977 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.009064, allocations: 4 kB / 0.8977 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.009084, allocations: 41.39 kB / 0.8977 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 8.51e-07/0.009084, allocations: 0 / 0.8977 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0003716/0.009456, allocations: 247.7 kB / 0.8979 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.009481, allocations: 55.41 kB / 0.898 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.009729, allocations: 442.6 kB / 0.8984 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.009752, allocations: 29.7 kB / 0.8984 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.009871, allocations: 259.2 kB / 0.8987 GB, free: 384 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.009914, allocations: 59.47 kB / 0.8987 GB, free: 324 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/0.009982, allocations: 43.34 kB / 0.8988 GB, free: 272 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.01013, allocations: 0.5507 MB / 0.8993 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.0102, allocations: 47.97 kB / 0.8994 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.01046, allocations: 167.8 kB / 0.8995 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.01061, allocations: 101.5 kB / 0.8996 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01061, allocations: 0 / 0.8996 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002458/0.01086, allocations: 193.3 kB / 0.8998 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.01087, allocations: 8 kB / 0.8998 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.01087, allocations: 0 / 0.8998 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01089, allocations: 0 / 0.8998 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.01106, allocations: 47.89 kB / 0.8999 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.01107, allocations: 0 / 0.8999 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.01117, allocations: 27.88 kB / 0.8999 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.01118, allocations: 11.98 kB / 0.8999 GB, free: 15.07 MB / 0.8698 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 9.269e-05/0.01128, allocations: 168.5 kB / 0.9001 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.01132, allocations: 43.77 kB / 0.9001 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.01136, allocations: 35.45 kB / 0.9001 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.01136, allocations: 0 / 0.9001 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.01136, allocations: 4 kB / 0.9001 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01137, allocations: 0 / 0.9001 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.01161, allocations: 282.7 kB / 0.9004 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01161, allocations: 7.922 kB / 0.9004 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.01176, allocations: 47.91 kB / 0.9005 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.01176, allocations: 0 / 0.9005 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.01177, allocations: 7.984 kB / 0.9005 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01177, allocations: 4 kB / 0.9005 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.01177, allocations: 0 / 0.9005 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.01209, allocations: 341.9 kB / 0.9008 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.01213, allocations: 47.62 kB / 0.9008 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.01215, allocations: 4 kB / 0.9009 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01227, allocations: 27.92 kB / 0.9009 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.01233, allocations: 19.95 kB / 0.9009 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.01234, allocations: 11.98 kB / 0.9009 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001321/0.01247, allocations: 271 kB / 0.9012 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.01247, allocations: 0 / 0.9012 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000193/0.01267, allocations: 64 kB / 0.9012 GB, free: 13.66 MB / 0.8698 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 8.751e-05/0.01275, allocations: 99.25 kB / 0.9013 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.01299, allocations: 155.4 kB / 0.9015 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01299, allocations: 0 / 0.9015 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.0131, allocations: 93.61 kB / 0.9016 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.01336, allocations: 73.33 kB / 0.9016 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008188/0.01417, allocations: 0.5532 MB / 0.9022 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.038e-05/0.01423, allocations: 104.3 kB / 0.9023 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.01436, allocations: 42.31 kB / 0.9023 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.01456, allocations: 134.1 kB / 0.9024 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of SimCode: time 7.22e-07/0.01456, allocations: 0 / 0.9024 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of Templates: time 0.006713/0.02127, allocations: 4.785 MB / 0.9071 GB, free: 7.66 MB / 0.8698 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.1427046549506485]