Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001531/0.001531, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001611/0.001611, allocations: 161 kB / 24.17 MB, free: 328 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.9271/0.9271, allocations: 177.1 MB / 204.6 MB, free: 5.145 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.861/1.861, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.499e-05, allocations: 2.312 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002876/0.002901, allocations: 2.41 MB / 0.7624 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.004825, allocations: 1.452 MB / 0.7638 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.00496, allocations: 4 kB / 0.7638 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.005482, allocations: 192.6 kB / 0.764 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.0056, allocations: 84.44 kB / 0.7641 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.005963, allocations: 133 kB / 0.7642 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.00629, allocations: 347.3 kB / 0.7645 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.006389, allocations: 34.81 kB / 0.7645 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.006792, allocations: 189 kB / 0.7647 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.007021, allocations: 167.6 kB / 0.7649 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.007062, allocations: 32.75 kB / 0.7649 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.007171, allocations: 67.97 kB / 0.765 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.552e-05/0.007256, allocations: 124.6 kB / 0.7651 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.007342, allocations: 119.7 kB / 0.7652 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.00767, allocations: 334.9 kB / 0.7655 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.007672, allocations: 0.75 kB / 0.7655 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.22e-07/0.007673, allocations: 0 / 0.7655 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.007678, allocations: 1.031 kB / 0.7655 GB, free: 1.047 MB / 0.7136 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.0006965/0.008374, allocations: 0.6091 MB / 0.7661 GB, free: 428 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.008403, allocations: 8.031 kB / 0.7661 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/0.008855, allocations: 147 kB / 0.7663 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.009136, allocations: 256.8 kB / 0.7665 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.009238, allocations: 190.9 kB / 0.7667 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.009267, allocations: 12.38 kB / 0.7667 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.009548, allocations: 194.7 kB / 0.7669 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.009555, allocations: 4.125 kB / 0.7669 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.009575, allocations: 8.125 kB / 0.7669 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.009581, allocations: 4 kB / 0.7669 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.009739, allocations: 89.98 kB / 0.767 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006424/0.01038, allocations: 412.2 kB / 0.7674 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.01057, allocations: 158.4 kB / 0.7675 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.556e-05/0.01064, allocations: 59.28 kB / 0.7676 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.01067, allocations: 8 kB / 0.7676 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.01069, allocations: 30.56 kB / 0.7676 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.01069, allocations: 0 / 0.7676 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003169/0.011, allocations: 196.9 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.01103, allocations: 59.34 kB / 0.7679 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.01147, allocations: 312.1 kB / 0.7682 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.0115, allocations: 33.7 kB / 0.7682 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.01155, allocations: 130.2 kB / 0.7683 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.01159, allocations: 64.09 kB / 0.7684 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.01166, allocations: 37.67 kB / 0.7684 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.01174, allocations: 351.9 kB / 0.7688 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.01182, allocations: 42.83 kB / 0.7688 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.01193, allocations: 152.8 kB / 0.769 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.01207, allocations: 104.1 kB / 0.7691 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01207, allocations: 0 / 0.7691 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002033/0.01227, allocations: 162.9 kB / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.01229, allocations: 4 kB / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.01229, allocations: 0 / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.0123, allocations: 4 kB / 0.7692 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.01248, allocations: 39.95 kB / 0.7693 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.01248, allocations: 4 kB / 0.7693 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.01258, allocations: 23.88 kB / 0.7693 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.01259, allocations: 10.45 kB / 0.7693 GB, free: 13 MB / 0.7292 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 8.642e-05/0.01268, allocations: 124.5 kB / 0.7694 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.01272, allocations: 27.97 kB / 0.7694 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.01276, allocations: 35.45 kB / 0.7695 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01276, allocations: 7.938 kB / 0.7695 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01276, allocations: 0 / 0.7695 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01277, allocations: 4.734 kB / 0.7695 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.01298, allocations: 205.7 kB / 0.7697 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01299, allocations: 6.953 kB / 0.7697 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.01312, allocations: 43.91 kB / 0.7697 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.01313, allocations: 0 / 0.7697 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.01314, allocations: 11.98 kB / 0.7697 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01314, allocations: 0 / 0.7697 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01315, allocations: 3.938 kB / 0.7697 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.01339, allocations: 292.9 kB / 0.77 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.01342, allocations: 43.62 kB / 0.7701 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.01346, allocations: 8 kB / 0.7701 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.01356, allocations: 11.98 kB / 0.7701 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.01363, allocations: 27.98 kB / 0.7701 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.01364, allocations: 13.98 kB / 0.7701 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.206e-05/0.01373, allocations: 128.7 kB / 0.7702 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01373, allocations: 0 / 0.7702 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001868/0.01392, allocations: 68 kB / 0.7703 GB, free: 11.91 MB / 0.7292 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 9.439e-05/0.01401, allocations: 81.23 kB / 0.7704 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.01422, allocations: 135.1 kB / 0.7705 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01423, allocations: 0 / 0.7705 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.537e-05/0.01432, allocations: 75.38 kB / 0.7706 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.01454, allocations: 72.02 kB / 0.7707 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007884/0.01533, allocations: 0.5647 MB / 0.7712 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.754e-05/0.01539, allocations: 104.3 kB / 0.7713 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.01551, allocations: 37.5 kB / 0.7713 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.01569, allocations: 104.4 kB / 0.7714 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.01569, allocations: 4 kB / 0.7714 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of Templates: time 0.006261/0.02195, allocations: 4.651 MB / 0.776 GB, free: 6.262 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.990787185262889]