Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007767/0.0007767, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001792, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007322/0.0007322, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000902/0.001634, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.946/0.946, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09077/1.037, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.874/1.874, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4793/2.353, allocations: 123.3 MB / 0.728 GB, free: 5.859 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.475e-05, allocations: 7.438 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003083/0.003098, allocations: 2.454 MB / 0.7317 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007847/0.01094, allocations: 1.456 MB / 0.7331 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.01104, allocations: 3.938 kB / 0.7331 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.01139, allocations: 192.4 kB / 0.7333 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.01151, allocations: 84.97 kB / 0.7334 GB, free: 420 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.01176, allocations: 129.2 kB / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.0121, allocations: 338.6 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.0122, allocations: 43.39 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003306/0.01254, allocations: 245 kB / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.01279, allocations: 172.3 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.693e-05/0.01283, allocations: 28 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.01298, allocations: 80.42 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.782e-05/0.01308, allocations: 99.7 kB / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.588e-05/0.01318, allocations: 88.73 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.01352, allocations: 291.1 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.62e-05/0.01354, allocations: 0.5938 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.12e-07/0.01354, allocations: 0 / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.01356, allocations: 0.8438 kB / 0.7349 GB, free: 14.93 MB / 0.7136 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.0007715/0.01433, allocations: 0.67 MB / 0.7355 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.01436, allocations: 9.531 kB / 0.7355 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007139/0.01507, allocations: 227.6 kB / 0.7357 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.01531, allocations: 249.2 kB / 0.736 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.01541, allocations: 195 kB / 0.7362 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.01543, allocations: 12.38 kB / 0.7362 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.01569, allocations: 191 kB / 0.7364 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.0157, allocations: 192 / 0.7364 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.01572, allocations: 8.125 kB / 0.7364 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.01572, allocations: 5.031 kB / 0.7364 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.01588, allocations: 91.08 kB / 0.7365 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.01646, allocations: 411.1 kB / 0.7369 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.01665, allocations: 163.6 kB / 0.737 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.609e-05/0.01672, allocations: 62.19 kB / 0.7371 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.01675, allocations: 4 kB / 0.7371 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.01676, allocations: 31.31 kB / 0.7371 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.01677, allocations: 0 / 0.7371 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003044/0.01707, allocations: 199.5 kB / 0.7373 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.0171, allocations: 55.41 kB / 0.7373 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.01727, allocations: 316.4 kB / 0.7376 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.0173, allocations: 29.7 kB / 0.7377 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.01735, allocations: 137.4 kB / 0.7378 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.01739, allocations: 60.45 kB / 0.7379 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.01746, allocations: 37.69 kB / 0.7379 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.01754, allocations: 347.5 kB / 0.7382 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.01761, allocations: 45.56 kB / 0.7383 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.01772, allocations: 152.5 kB / 0.7384 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.01786, allocations: 104.4 kB / 0.7385 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01786, allocations: 0 / 0.7385 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001916/0.01805, allocations: 159.1 kB / 0.7387 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.01806, allocations: 7.938 kB / 0.7387 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.01807, allocations: 0 / 0.7387 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.01808, allocations: 4 kB / 0.7387 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.01828, allocations: 53.81 kB / 0.7387 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.01828, allocations: 3.984 kB / 0.7387 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-05/0.01838, allocations: 27.88 kB / 0.7388 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.01839, allocations: 7.984 kB / 0.7388 GB, free: 10.71 MB / 0.7136 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 8.259e-05/0.01848, allocations: 125.4 kB / 0.7389 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.01852, allocations: 24.62 kB / 0.7389 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.01856, allocations: 39.45 kB / 0.739 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01856, allocations: 0.6562 kB / 0.739 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01856, allocations: 0.6562 kB / 0.739 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01856, allocations: 4 kB / 0.739 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.01877, allocations: 215.6 kB / 0.7392 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01877, allocations: 0 / 0.7392 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.01893, allocations: 55.88 kB / 0.7392 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.01896, allocations: 35.77 kB / 0.7392 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01897, allocations: 4 kB / 0.7393 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01898, allocations: 10.42 kB / 0.7393 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01898, allocations: 0 / 0.7393 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01898, allocations: 0 / 0.7393 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.01922, allocations: 303.7 kB / 0.7396 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.01925, allocations: 6.203 kB / 0.7396 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.01935, allocations: 19.98 kB / 0.7396 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.01941, allocations: 19.95 kB / 0.7396 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.01942, allocations: 8 kB / 0.7396 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.995e-05/0.01951, allocations: 136.7 kB / 0.7397 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01951, allocations: 0.5938 kB / 0.7397 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001674/0.01968, allocations: 69.44 kB / 0.7398 GB, free: 9.625 MB / 0.7136 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 7.874e-05/0.01976, allocations: 88.34 kB / 0.7399 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.01996, allocations: 120.9 kB / 0.74 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.01996, allocations: 8.75 kB / 0.74 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.02006, allocations: 77.41 kB / 0.7401 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.02029, allocations: 91.61 kB / 0.7402 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.0226, allocations: 0.5847 MB / 0.7407 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.973e-05/0.02266, allocations: 108.3 kB / 0.7408 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.02279, allocations: 39.58 kB / 0.7409 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.02297, allocations: 99.95 kB / 0.741 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.02297, allocations: 0 / 0.741 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of Templates: time 0.006353/0.02932, allocations: 4.814 MB / 0.7457 GB, free: 3.77 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.859766313806176]