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.001611/0.001611, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00186/0.00186, allocations: 193.2 kB / 22.17 MB, free: 5.656 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.463/1.463, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.845/2.845, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] 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.002027/0.002027, allocations: 67.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7301, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004132/0.7343, allocations: 2.404 MB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.7366, allocations: 1.421 MB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.7367, allocations: 4 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.7373, allocations: 206.8 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.7375, allocations: 71.36 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.7378, allocations: 123.7 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.7382, allocations: 326.8 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.7383, allocations: 32.69 kB / 1.279 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.7385, allocations: 135.5 kB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.7388, allocations: 187.4 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.7389, allocations: 32 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.7391, allocations: 71.95 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.7392, allocations: 123.6 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.7394, allocations: 183 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.7399, allocations: 488.8 kB / 1.28 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.7399, allocations: 7.938 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7399, allocations: 4 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.74, allocations: 0 / 1.28 GB, free: 14.75 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.001362/0.7413, allocations: 0.712 MB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.7414, allocations: 8.031 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/0.7423, allocations: 148.5 kB / 1.281 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.7429, allocations: 354.6 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.743, allocations: 88.17 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.743, allocations: 12.38 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.7438, allocations: 299.4 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.7438, allocations: 7.984 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.7439, allocations: 0 / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.7439, allocations: 4 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.7451, allocations: 420.3 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.7469, allocations: 0.8705 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/0.7476, allocations: 262.3 kB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/0.7482, allocations: 200.7 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.7482, allocations: 4 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.7483, allocations: 30.56 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.7483, allocations: 0 / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001967/0.7502, allocations: 0.6556 MB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.7503, allocations: 67.34 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.7508, allocations: 417.7 kB / 1.284 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.7509, allocations: 33.69 kB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.751, allocations: 180 kB / 1.284 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/0.7511, allocations: 63.42 kB / 1.284 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.7512, allocations: 41.69 kB / 1.284 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.7514, allocations: 346.8 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005904/0.752, allocations: 195.9 kB / 1.285 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.7526, allocations: 223.3 kB / 1.285 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.7537, allocations: 378.5 kB / 1.285 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7537, allocations: 0 / 1.285 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00127/0.755, allocations: 465.1 kB / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.755, allocations: 5.875 kB / 1.286 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.755, allocations: 3.984 kB / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.755, allocations: 0 / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.7555, allocations: 59.92 kB / 1.286 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.7555, allocations: 7.938 kB / 1.286 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.7559, allocations: 39.91 kB / 1.286 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.7559, allocations: 11.98 kB / 1.286 GB, free: 7.984 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.0002807/0.7562, allocations: 165.8 kB / 1.286 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.7563, allocations: 35.77 kB / 1.286 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.7564, allocations: 39.59 kB / 1.286 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.7564, allocations: 12 kB / 1.286 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.7564, allocations: 3.938 kB / 1.286 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7564, allocations: 3.938 kB / 1.286 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.757, allocations: 478.8 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.757, allocations: 0 / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.7575, allocations: 63.92 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-06/0.7575, allocations: 0 / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.7575, allocations: 0 / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.7575, allocations: 7.938 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7575, allocations: 7.938 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.7588, allocations: 0.5459 MB / 1.287 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.7589, allocations: 120.8 kB / 1.287 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.759, allocations: 7.984 kB / 1.287 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.7593, allocations: 27.95 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.7594, allocations: 35.81 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.7595, allocations: 4 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004441/0.7599, allocations: 307.1 kB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7599, allocations: 0 / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003334/0.7602, allocations: 67.95 kB / 1.288 GB, free: 5.984 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.0001566/0.7604, allocations: 107.7 kB / 1.288 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.7617, allocations: 417.7 kB / 1.288 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7617, allocations: 4 kB / 1.288 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006192/0.7623, allocations: 219.8 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.7627, allocations: 68.14 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.7642, allocations: 0.6844 MB / 1.289 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.7646, allocations: 0.7946 MB / 1.29 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.7649, allocations: 62.27 kB / 1.29 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.7652, allocations: 27.42 kB / 1.29 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.7652, allocations: 3.938 kB / 1.29 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of Templates: time 0.009363/0.7745, allocations: 4.384 MB / 1.295 GB, free: 15.22 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 gbode -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: 8.485267997253686]