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.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.001826/0.001826, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002354/0.002354, allocations: 200.3 kB / 22.17 MB, free: 5.211 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.48/1.48, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001951/0.001951, allocations: 63.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9155/0.9174, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.005309/0.9227, allocations: 2.408 MB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003283/0.926, allocations: 1.413 MB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.9262, allocations: 4 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009561/0.9272, allocations: 210.8 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.9274, allocations: 71.34 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.9279, allocations: 123.7 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.9285, allocations: 330.8 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.9286, allocations: 32.67 kB / 1.279 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.9289, allocations: 127.5 kB / 1.279 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.9293, allocations: 191.4 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.255e-05/0.9294, allocations: 28 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.9296, allocations: 71.97 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.9298, allocations: 131.6 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.9301, allocations: 175 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000801/0.9309, allocations: 496.8 kB / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9309, allocations: 3.938 kB / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9309, allocations: 0 / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.9309, allocations: 4 kB / 1.28 GB, free: 14.76 MB / 0.9825 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.00186/0.9327, allocations: 0.7081 MB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.9328, allocations: 12.03 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.934, allocations: 144.5 kB / 1.281 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007408/0.9348, allocations: 362.5 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.9349, allocations: 84.19 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.935, allocations: 12.38 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.9361, allocations: 300.6 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.9362, allocations: 3.938 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.9362, allocations: 4 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.9362, allocations: 4 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.9379, allocations: 416.4 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.9404, allocations: 0.8704 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.9414, allocations: 266.4 kB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008602/0.9422, allocations: 200.7 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.9423, allocations: 4 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.9423, allocations: 38.56 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 2.474e-06/0.9423, allocations: 0 / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.002552/0.9448, allocations: 0.6511 MB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.9449, allocations: 55.34 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008145/0.9457, allocations: 429.6 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.9458, allocations: 25.7 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.946, allocations: 180 kB / 1.284 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.9461, allocations: 63.47 kB / 1.284 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.9462, allocations: 45.7 kB / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.9465, allocations: 346.8 kB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008253/0.9473, allocations: 191.8 kB / 1.285 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008723/0.9482, allocations: 233.3 kB / 1.285 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.9497, allocations: 374.5 kB / 1.285 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9497, allocations: 0 / 1.285 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001836/0.9515, allocations: 457.1 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.9515, allocations: 11.98 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.9515, allocations: 4 kB / 1.286 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.9516, allocations: 0 / 1.286 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008125/0.9524, allocations: 55.94 kB / 1.286 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.9524, allocations: 3.938 kB / 1.286 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.9529, allocations: 43.89 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.9529, allocations: 7.938 kB / 1.286 GB, free: 8.004 MB / 0.9825 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.0004252/0.9534, allocations: 173.8 kB / 1.286 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.9535, allocations: 35.77 kB / 1.286 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.695e-05/0.9536, allocations: 43.53 kB / 1.286 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.9536, allocations: 0 / 1.286 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.9536, allocations: 11.92 kB / 1.286 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9536, allocations: 0 / 1.286 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/0.9545, allocations: 474.8 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.9545, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.9551, allocations: 67.86 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.9551, allocations: 0 / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.9552, allocations: 7.984 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.9552, allocations: 0 / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.9552, allocations: 7.938 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.957, allocations: 0.5442 MB / 1.287 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.9571, allocations: 124.8 kB / 1.287 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/0.9572, allocations: 0 / 1.287 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/0.9577, allocations: 31.95 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.9579, allocations: 35.81 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.9579, allocations: 11.98 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005347/0.9585, allocations: 311.1 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9585, allocations: 0 / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005353/0.959, allocations: 63.95 kB / 1.288 GB, free: 5.996 MB / 0.9825 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.0002045/0.9592, allocations: 107.7 kB / 1.288 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.961, allocations: 423.6 kB / 1.288 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.961, allocations: 0 / 1.288 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000854/0.9618, allocations: 219.7 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.9624, allocations: 51.52 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.9646, allocations: 0.6805 MB / 1.289 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.9652, allocations: 0.7986 MB / 1.29 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003917/0.9656, allocations: 66.3 kB / 1.29 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.9659, allocations: 23.42 kB / 1.29 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of SimCode: time 1.082e-06/0.9659, allocations: 0 / 1.29 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.01135/0.9772, allocations: 4.383 MB / 1.294 GB, free: 15.25 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.07512884400785]