Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 113.9 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 63.89 kB / 1.057 GB, free: 2.043 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.335, allocations: 160.7 MB / 1.214 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00403/0.339, allocations: 2.398 MB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.3413, allocations: 1.406 MB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.3415, allocations: 0 / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006407/0.3421, allocations: 210.8 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.3423, allocations: 83.27 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.3426, allocations: 119.7 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.343, allocations: 318.8 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3431, allocations: 36.67 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.3434, allocations: 131.5 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.3437, allocations: 191.3 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.058e-05/0.3437, allocations: 32 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.3439, allocations: 71.95 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.344, allocations: 123.6 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.3442, allocations: 179.1 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005872/0.3448, allocations: 498 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3448, allocations: 0 / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3448, allocations: 0 / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.3448, allocations: 0 / 1.22 GB, free: 11.21 MB / 0.9669 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.001426/0.3462, allocations: 0.7158 MB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3463, allocations: 8.031 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009159/0.3472, allocations: 152.5 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.3477, allocations: 354.6 kB / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.3479, allocations: 84.17 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.3479, allocations: 20.31 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/0.3487, allocations: 300.1 kB / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3487, allocations: 4 kB / 1.221 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.3487, allocations: 4 kB / 1.221 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.3488, allocations: 4 kB / 1.221 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.3499, allocations: 417.1 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.3517, allocations: 0.8586 MB / 1.222 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007128/0.3524, allocations: 258.4 kB / 1.223 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/0.353, allocations: 208.7 kB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.353, allocations: 8 kB / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3531, allocations: 30.56 kB / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.3531, allocations: 0 / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.001916/0.355, allocations: 0.6535 MB / 1.224 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.355, allocations: 55.34 kB / 1.224 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.3556, allocations: 425.6 kB / 1.224 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.3557, allocations: 33.7 kB / 1.224 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3558, allocations: 180 kB / 1.224 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.487e-05/0.3559, allocations: 63.47 kB / 1.224 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.356, allocations: 41.69 kB / 1.224 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.3562, allocations: 350.8 kB / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.3568, allocations: 195.8 kB / 1.225 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/0.3574, allocations: 233.1 kB / 1.225 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.3584, allocations: 370.6 kB / 1.225 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3584, allocations: 3.984 kB / 1.225 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001243/0.3597, allocations: 453.2 kB / 1.226 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3597, allocations: 4 kB / 1.226 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3597, allocations: 8 kB / 1.226 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3597, allocations: 0 / 1.226 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.3602, allocations: 67.86 kB / 1.226 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.3602, allocations: 3.938 kB / 1.226 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.3606, allocations: 43.83 kB / 1.226 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.3606, allocations: 4 kB / 1.226 GB, free: 4.445 MB / 0.9669 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.0002136/0.3608, allocations: 165.8 kB / 1.226 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.3609, allocations: 43.8 kB / 1.226 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.07e-05/0.361, allocations: 39.59 kB / 1.226 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.361, allocations: 3.938 kB / 1.226 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.361, allocations: 3.938 kB / 1.226 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.361, allocations: 3.984 kB / 1.226 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007572/0.3618, allocations: 474.8 kB / 1.227 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3618, allocations: 0 / 1.227 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.3622, allocations: 67.92 kB / 1.227 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3622, allocations: 0 / 1.227 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.3622, allocations: 4 kB / 1.227 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3622, allocations: 3.984 kB / 1.227 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3622, allocations: 3.938 kB / 1.227 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.3635, allocations: 0.5558 MB / 1.227 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.3636, allocations: 116.9 kB / 1.227 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.3637, allocations: 8 kB / 1.227 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.364, allocations: 35.89 kB / 1.228 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3641, allocations: 23.91 kB / 1.228 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.3642, allocations: 11.98 kB / 1.228 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003674/0.3645, allocations: 307.1 kB / 1.228 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3645, allocations: 0 / 1.228 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003342/0.3649, allocations: 71.89 kB / 1.228 GB, free: 2.445 MB / 0.9669 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.0001788/0.3651, allocations: 103.2 kB / 1.228 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.3663, allocations: 423.5 kB / 1.228 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3663, allocations: 0 / 1.228 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.3669, allocations: 225.8 kB / 1.229 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.3673, allocations: 43.44 kB / 1.229 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3689, allocations: 0.7173 MB / 1.229 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.3694, allocations: 0.7947 MB / 1.23 GB, free: 88 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.3696, allocations: 27.42 kB / 1.23 GB, free: 60 kB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3696, allocations: 0 / 1.23 GB, free: 60 kB / 0.9669 GB Notification: Performance of Templates: time 0.009151/0.3788, allocations: 5.003 MB / 1.235 GB, free: 11.09 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.81782369199209]