Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009426/0.0009426, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009251/0.0009251, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9103/0.9103, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.738/1.738, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.715e-05, allocations: 9.688 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002822/0.002849, allocations: 2.395 MB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.004429, allocations: 1.42 MB / 0.7913 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.004564, allocations: 7.938 kB / 0.7913 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.00504, allocations: 187.6 kB / 0.7915 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.005203, allocations: 77.36 kB / 0.7915 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.005534, allocations: 141.1 kB / 0.7917 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.005852, allocations: 342.6 kB / 0.792 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.005948, allocations: 30.2 kB / 0.792 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.00624, allocations: 195.5 kB / 0.7922 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.00646, allocations: 168.2 kB / 0.7924 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.0065, allocations: 33.31 kB / 0.7924 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.006612, allocations: 71.95 kB / 0.7925 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.006695, allocations: 119.6 kB / 0.7926 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.517e-05/0.00677, allocations: 113.2 kB / 0.7927 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.007098, allocations: 342.9 kB / 0.793 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007101, allocations: 0 / 0.793 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.81e-07/0.007102, allocations: 0 / 0.793 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.007106, allocations: 0 / 0.793 GB, free: 6.609 MB / 0.7448 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.0007316/0.007838, allocations: 0.7487 MB / 0.7938 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.007873, allocations: 12.56 kB / 0.7938 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.008355, allocations: 167.1 kB / 0.7939 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.008625, allocations: 267.9 kB / 0.7942 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.00873, allocations: 195 kB / 0.7944 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.008751, allocations: 8.875 kB / 0.7944 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.009033, allocations: 187.6 kB / 0.7946 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.00904, allocations: 192 / 0.7946 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.009058, allocations: 8.969 kB / 0.7946 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.009064, allocations: 4 kB / 0.7946 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.00923, allocations: 115.5 kB / 0.7947 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007985/0.01003, allocations: 0.6074 MB / 0.7953 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.01024, allocations: 131 kB / 0.7954 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.065e-05/0.01033, allocations: 67.66 kB / 0.7955 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.01036, allocations: 9.438 kB / 0.7955 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.01038, allocations: 37.39 kB / 0.7955 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.01038, allocations: 0 / 0.7955 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0003961/0.01078, allocations: 245.3 kB / 0.7957 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.0108, allocations: 55.41 kB / 0.7958 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.01106, allocations: 438.6 kB / 0.7962 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.01109, allocations: 26.48 kB / 0.7962 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.01122, allocations: 259.2 kB / 0.7965 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.01127, allocations: 64.03 kB / 0.7965 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.01133, allocations: 44.42 kB / 0.7966 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.01147, allocations: 0.5468 MB / 0.7971 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.01156, allocations: 52.56 kB / 0.7972 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.01169, allocations: 178.9 kB / 0.7973 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.01183, allocations: 96.58 kB / 0.7974 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01184, allocations: 1.031 kB / 0.7974 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002744/0.01211, allocations: 184.9 kB / 0.7976 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01212, allocations: 8 kB / 0.7976 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.01213, allocations: 1.062 kB / 0.7976 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.01214, allocations: 0 / 0.7976 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.01233, allocations: 53.02 kB / 0.7977 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.01233, allocations: 0 / 0.7977 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.01244, allocations: 31.86 kB / 0.7977 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.01245, allocations: 8 kB / 0.7977 GB, free: 1.582 MB / 0.7448 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.987e-05/0.01255, allocations: 164.5 kB / 0.7979 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.01261, allocations: 39.7 kB / 0.7979 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.01265, allocations: 43.44 kB / 0.7979 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01265, allocations: 0 / 0.7979 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01265, allocations: 4 kB / 0.7979 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01266, allocations: 0 / 0.7979 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.01294, allocations: 282.9 kB / 0.7982 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01294, allocations: 7.938 kB / 0.7982 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.0131, allocations: 51.95 kB / 0.7983 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.0131, allocations: 0 / 0.7983 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.01311, allocations: 3.938 kB / 0.7983 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01312, allocations: 4 kB / 0.7983 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01312, allocations: 0 / 0.7983 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.01341, allocations: 343.6 kB / 0.7986 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.01345, allocations: 43.64 kB / 0.7987 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.01348, allocations: 8 kB / 0.7987 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.0136, allocations: 23.97 kB / 0.7987 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.01365, allocations: 19.95 kB / 0.7987 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.01367, allocations: 4 kB / 0.7987 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001351/0.0138, allocations: 275 kB / 0.799 GB, free: 236 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.0138, allocations: 0 / 0.799 GB, free: 236 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002146/0.01402, allocations: 68 kB / 0.799 GB, free: 168 kB / 0.7448 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.0001004/0.01412, allocations: 95.25 kB / 0.7991 GB, free: 64 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.01437, allocations: 161.6 kB / 0.7993 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01437, allocations: 0 / 0.7993 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.01448, allocations: 87.58 kB / 0.7994 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.01475, allocations: 77.33 kB / 0.7994 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008939/0.01565, allocations: 0.5629 MB / 0.8 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.951e-05/0.01571, allocations: 108.1 kB / 0.8001 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.01584, allocations: 42.31 kB / 0.8001 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.01604, allocations: 130.2 kB / 0.8003 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of SimCode: time 5.71e-07/0.01604, allocations: 0 / 0.8003 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of Templates: time 0.006311/0.02235, allocations: 4.771 MB / 0.8049 GB, free: 10.18 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.9172965567559]