Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001064/0.001064, allocations: 80.25 kB / 20.03 MB, free: 4.492 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.001025/0.001025, allocations: 173.9 kB / 23.34 MB, free: 1.188 MB / 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.9729/0.9729, allocations: 177.1 MB / 203.7 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.97/1.97, allocations: 390.1 MB / 0.635 GB, free: 11.55 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.3e-05, allocations: 2.312 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002826/0.002859, allocations: 2.308 MB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.00437, allocations: 1.347 MB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.004488, allocations: 4 kB / 1.007 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004764/0.004965, allocations: 186.8 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.005055, allocations: 83.27 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.00536, allocations: 127.6 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.005882, allocations: 346.6 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.006006, allocations: 28.91 kB / 1.007 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.00627, allocations: 199.5 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.006499, allocations: 159.6 kB / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.006544, allocations: 32 kB / 1.008 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.006668, allocations: 67.97 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.006775, allocations: 123.6 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.006864, allocations: 119.7 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.007287, allocations: 0.5102 MB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.00729, allocations: 4 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.22e-07/0.007291, allocations: 0 / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.007296, allocations: 0 / 1.008 GB, free: 5.191 MB / 0.9636 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.0008521/0.008148, allocations: 0.6443 MB / 1.009 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.008189, allocations: 12.03 kB / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006276/0.008817, allocations: 196.4 kB / 1.009 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.009182, allocations: 307.9 kB / 1.01 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.009327, allocations: 191 kB / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.009359, allocations: 12.38 kB / 1.01 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.009847, allocations: 303.8 kB / 1.01 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.00986, allocations: 4.172 kB / 1.01 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.009885, allocations: 8.125 kB / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.009894, allocations: 4 kB / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000635/0.01053, allocations: 416.3 kB / 1.01 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.01152, allocations: 0.7156 MB / 1.011 GB, free: 2.285 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.01192, allocations: 262.3 kB / 1.011 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.01222, allocations: 208.7 kB / 1.012 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.01226, allocations: 0 / 1.012 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.01228, allocations: 38.56 kB / 1.012 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 9.32e-07/0.01228, allocations: 0 / 1.012 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.001061/0.01334, allocations: 0.6458 MB / 1.012 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.01338, allocations: 63.34 kB / 1.012 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.01371, allocations: 417.6 kB / 1.013 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.01374, allocations: 29.7 kB / 1.013 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.01384, allocations: 184.5 kB / 1.013 GB, free: 412 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.01389, allocations: 63.44 kB / 1.013 GB, free: 348 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.01396, allocations: 41.7 kB / 1.013 GB, free: 300 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.01408, allocations: 350.7 kB / 1.013 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.01438, allocations: 191.9 kB / 1.014 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.01472, allocations: 314.1 kB / 1.014 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/0.01547, allocations: 374.7 kB / 1.014 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01547, allocations: 0 / 1.014 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006761/0.01614, allocations: 465 kB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.01617, allocations: 11.98 kB / 1.015 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.01617, allocations: 4 kB / 1.015 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.01619, allocations: 0 / 1.015 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.01643, allocations: 59.94 kB / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.01644, allocations: 0 / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.01659, allocations: 35.94 kB / 1.015 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.01661, allocations: 8 kB / 1.015 GB, free: 14.47 MB / 0.9792 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.0001328/0.01674, allocations: 173.7 kB / 1.015 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.01679, allocations: 39.77 kB / 1.015 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.01684, allocations: 39.45 kB / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01684, allocations: 4 kB / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.01685, allocations: 0 / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01685, allocations: 3.984 kB / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.01716, allocations: 358.8 kB / 1.015 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01716, allocations: 4 kB / 1.015 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.01734, allocations: 55.92 kB / 1.015 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01734, allocations: 8 kB / 1.015 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.01736, allocations: 4 kB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01736, allocations: 3.938 kB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01736, allocations: 0 / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.0181, allocations: 0.5671 MB / 1.016 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.01814, allocations: 39.7 kB / 1.016 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.01818, allocations: 4 kB / 1.016 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.01833, allocations: 31.94 kB / 1.016 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.01842, allocations: 23.97 kB / 1.016 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.01845, allocations: 7.984 kB / 1.016 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002266/0.01867, allocations: 303.1 kB / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.01867, allocations: 0 / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002214/0.0189, allocations: 63.95 kB / 1.016 GB, free: 12.7 MB / 0.9792 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.0001241/0.01902, allocations: 114.1 kB / 1.017 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006969/0.01972, allocations: 417.6 kB / 1.017 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.01972, allocations: 4 kB / 1.017 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.02004, allocations: 219.7 kB / 1.017 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.02036, allocations: 51.52 kB / 1.017 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.02126, allocations: 0.6842 MB / 1.018 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.02141, allocations: 187.5 kB / 1.018 GB, free: 11 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.02157, allocations: 58.27 kB / 1.018 GB, free: 10.94 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.02168, allocations: 28.48 kB / 1.018 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of SimCode: time 6.11e-07/0.02168, allocations: 8 kB / 1.018 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.006434/0.02811, allocations: 4.459 MB / 1.022 GB, free: 6.508 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 5.89162228628993]