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.002044/0.002044, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00262/0.00262, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.49/1.49, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.962/2.962, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.835e-06/2.835e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.362e-05, allocations: 2.281 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.005119/0.005153, allocations: 2.312 MB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00303/0.008183, allocations: 1.335 MB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.008355, allocations: 4 kB / 1.004 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008372/0.009192, allocations: 194.8 kB / 1.004 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.009418, allocations: 71.34 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.00994, allocations: 143.5 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.01053, allocations: 342.6 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.01068, allocations: 28.91 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.01114, allocations: 199.5 kB / 1.005 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.01152, allocations: 155.6 kB / 1.005 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.469e-05/0.0116, allocations: 32 kB / 1.005 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.01182, allocations: 71.95 kB / 1.005 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.01201, allocations: 123.6 kB / 1.005 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.01221, allocations: 119.6 kB / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000851/0.01306, allocations: 0.5141 MB / 1.006 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.01307, allocations: 0 / 1.006 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.01307, allocations: 0 / 1.006 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.01307, allocations: 0 / 1.006 GB, free: 1.648 MB / 0.9512 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.001766/0.01484, allocations: 0.6444 MB / 1.006 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.01489, allocations: 8.031 kB / 1.006 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.01665, allocations: 180.4 kB / 1.006 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006852/0.01733, allocations: 304 kB / 1.007 GB, free: 476 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.01758, allocations: 191 kB / 1.007 GB, free: 244 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.01764, allocations: 8.375 kB / 1.007 GB, free: 236 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.01882, allocations: 299.8 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.01884, allocations: 192 / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/0.01889, allocations: 12.12 kB / 1.007 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.0189, allocations: 4 kB / 1.007 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.02069, allocations: 420.3 kB / 1.008 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.02307, allocations: 0.7156 MB / 1.008 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.02414, allocations: 274.3 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008385/0.02498, allocations: 207.2 kB / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.02502, allocations: 0 / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.02507, allocations: 38.56 kB / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/0.02507, allocations: 0 / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.002821/0.02789, allocations: 0.6535 MB / 1.009 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.02794, allocations: 51.41 kB / 1.009 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007008/0.02864, allocations: 417.6 kB / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.0287, allocations: 37.7 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.02891, allocations: 180.5 kB / 1.01 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.02901, allocations: 59.48 kB / 1.01 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.02919, allocations: 33.7 kB / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.02941, allocations: 354.7 kB / 1.011 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008489/0.03026, allocations: 195.8 kB / 1.011 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009522/0.03121, allocations: 308.4 kB / 1.011 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.03279, allocations: 374.8 kB / 1.011 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.03279, allocations: 4 kB / 1.011 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001899/0.03469, allocations: 458.7 kB / 1.012 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.03472, allocations: 8 kB / 1.012 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.03472, allocations: 0 / 1.012 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.03474, allocations: 4 kB / 1.012 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.03543, allocations: 63.92 kB / 1.012 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.03544, allocations: 0 / 1.012 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.03594, allocations: 39.91 kB / 1.012 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.036, allocations: 7.984 kB / 1.012 GB, free: 10.95 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.0002943/0.03629, allocations: 166.2 kB / 1.012 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.03641, allocations: 39.77 kB / 1.012 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.03651, allocations: 43.44 kB / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.03652, allocations: 0 / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.03652, allocations: 0 / 1.012 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.03653, allocations: 4 kB / 1.012 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007375/0.03727, allocations: 358.8 kB / 1.012 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.03727, allocations: 0 / 1.012 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/0.03794, allocations: 59.92 kB / 1.013 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.03795, allocations: 0 / 1.013 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.038, allocations: 11.98 kB / 1.013 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.038, allocations: 4 kB / 1.013 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.038, allocations: 0 / 1.013 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.03994, allocations: 0.5515 MB / 1.013 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.04004, allocations: 47.69 kB / 1.013 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/0.04013, allocations: 8 kB / 1.013 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/0.04067, allocations: 35.89 kB / 1.013 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.04082, allocations: 31.89 kB / 1.013 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.04086, allocations: 4 kB / 1.013 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005145/0.04138, allocations: 303.1 kB / 1.014 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.04138, allocations: 0 / 1.014 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005886/0.04197, allocations: 64 kB / 1.014 GB, free: 9.191 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.0001927/0.04216, allocations: 107.2 kB / 1.014 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.044, allocations: 415.7 kB / 1.014 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.044, allocations: 0 / 1.014 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009148/0.04491, allocations: 219.8 kB / 1.014 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.04558, allocations: 45.42 kB / 1.014 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.04727, allocations: 0.6725 MB / 1.015 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.04748, allocations: 187.5 kB / 1.015 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000259/0.04774, allocations: 58.3 kB / 1.015 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.04792, allocations: 28.5 kB / 1.015 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of SimCode: time 5.52e-07/0.04792, allocations: 0 / 1.015 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of Templates: time 0.009997/0.05791, allocations: 4.463 MB / 1.02 GB, free: 3.012 MB / 0.9669 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 -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: 8.64200897142291]