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.001401/0.001401, allocations: 111.9 kB / 17.08 MB, free: 5.961 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.00135/0.00135, allocations: 191.7 kB / 20.03 MB, free: 3.039 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.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.721/2.721, allocations: 437 MB / 0.7177 GB, free: 4.59 MB / 0.5606 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.001992/0.001992, allocations: 67.89 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3344, allocations: 151.6 MB / 1.176 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003734/0.3382, allocations: 2.384 MB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.3404, allocations: 1.402 MB / 1.18 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.3406, allocations: 0 / 1.18 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.3412, allocations: 210.8 kB / 1.18 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.3414, allocations: 71.36 kB / 1.18 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.3417, allocations: 115.7 kB / 1.18 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.3421, allocations: 334.8 kB / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3422, allocations: 40.73 kB / 1.18 GB, free: 1.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.3425, allocations: 135.5 kB / 1.18 GB, free: 1.238 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.3427, allocations: 179.4 kB / 1.181 GB, free: 1.062 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.3428, allocations: 32 kB / 1.181 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.343, allocations: 67.97 kB / 1.181 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.3431, allocations: 127.6 kB / 1.181 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.3433, allocations: 175.1 kB / 1.181 GB, free: 0.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005529/0.3439, allocations: 494.1 kB / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3439, allocations: 0 / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3439, allocations: 0 / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3439, allocations: 4 kB / 1.181 GB, free: 184 kB / 0.92 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.001365/0.3453, allocations: 0.722 MB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3453, allocations: 8.031 kB / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008727/0.3462, allocations: 152.5 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.3467, allocations: 354.6 kB / 1.183 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.3468, allocations: 88.17 kB / 1.183 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.3469, allocations: 12.31 kB / 1.183 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007701/0.3477, allocations: 296.8 kB / 1.183 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3477, allocations: 0 / 1.183 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.3477, allocations: 15.94 kB / 1.183 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3477, allocations: 3.984 kB / 1.183 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.3489, allocations: 416.4 kB / 1.183 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.3506, allocations: 0.8585 MB / 1.184 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.3513, allocations: 270.4 kB / 1.185 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.3519, allocations: 216.7 kB / 1.185 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.3519, allocations: 0 / 1.185 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.352, allocations: 42.55 kB / 1.185 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.092e-06/0.352, allocations: 0 / 1.185 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.001905/0.3539, allocations: 0.6475 MB / 1.185 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.354, allocations: 63.28 kB / 1.185 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.3545, allocations: 433.6 kB / 1.186 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.3545, allocations: 25.7 kB / 1.186 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.3547, allocations: 184 kB / 1.186 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/0.3548, allocations: 63.45 kB / 1.186 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.3549, allocations: 41.7 kB / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3551, allocations: 346.8 kB / 1.186 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.3556, allocations: 191.9 kB / 1.187 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.3562, allocations: 241.1 kB / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.3573, allocations: 368.6 kB / 1.187 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3573, allocations: 0 / 1.187 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001272/0.3586, allocations: 471.2 kB / 1.188 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3586, allocations: 4 kB / 1.188 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3586, allocations: 0 / 1.188 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3587, allocations: 4 kB / 1.188 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.3592, allocations: 55.92 kB / 1.188 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3592, allocations: 7.938 kB / 1.188 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.3595, allocations: 47.83 kB / 1.188 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.3596, allocations: 4 kB / 1.188 GB, free: 9.375 MB / 0.9356 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.000218/0.3598, allocations: 169.8 kB / 1.188 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.3599, allocations: 35.77 kB / 1.188 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.725e-05/0.36, allocations: 39.59 kB / 1.188 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.36, allocations: 4 kB / 1.188 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.36, allocations: 7.938 kB / 1.188 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.36, allocations: 3.984 kB / 1.188 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/0.3606, allocations: 482.5 kB / 1.189 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3606, allocations: 0 / 1.189 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.3611, allocations: 63.86 kB / 1.189 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3611, allocations: 0 / 1.189 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.3611, allocations: 11.98 kB / 1.189 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3611, allocations: 0 / 1.189 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3611, allocations: 3.938 kB / 1.189 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.3624, allocations: 0.5442 MB / 1.189 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.946e-05/0.3625, allocations: 120.9 kB / 1.189 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.3626, allocations: 8 kB / 1.189 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.3629, allocations: 31.95 kB / 1.189 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.363, allocations: 23.91 kB / 1.189 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.3631, allocations: 11.98 kB / 1.189 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003413/0.3634, allocations: 303.1 kB / 1.19 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3634, allocations: 0 / 1.19 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003316/0.3638, allocations: 71.89 kB / 1.19 GB, free: 7.383 MB / 0.9356 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.0001614/0.3639, allocations: 111.2 kB / 1.19 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.3652, allocations: 435.5 kB / 1.19 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3652, allocations: 0 / 1.19 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.3658, allocations: 235.8 kB / 1.19 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.3663, allocations: 49.58 kB / 1.19 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.3677, allocations: 0.7112 MB / 1.191 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.3681, allocations: 0.7986 MB / 1.192 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.3684, allocations: 31.42 kB / 1.192 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.3684, allocations: 0 / 1.192 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of Templates: time 0.007951/0.3763, allocations: 4.977 MB / 1.197 GB, free: 16 kB / 0.9356 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.688364599947818]