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.001463/0.001463, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001611/0.001611, allocations: 213 kB / 23.01 MB, free: 4.566 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.887/2.887, allocations: 0.49 GB / 0.7958 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 70.02 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2939, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003614/0.2975, allocations: 2.421 MB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.2996, allocations: 1.495 MB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.2997, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.3003, allocations: 206.8 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.3004, allocations: 79.3 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.3007, allocations: 135.7 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.3011, allocations: 334.7 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3012, allocations: 36.84 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.3015, allocations: 139.5 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.3018, allocations: 191.3 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.142e-05/0.3018, allocations: 36 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.302, allocations: 75.97 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.3021, allocations: 123.6 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.3022, allocations: 175 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005529/0.3028, allocations: 0.4942 MB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3028, allocations: 0 / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3028, allocations: 0 / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3028, allocations: 4 kB / 1.333 GB, free: 11.53 MB / 1.029 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.001238/0.3041, allocations: 0.6483 MB / 1.334 GB, free: 10.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.3041, allocations: 8.031 kB / 1.334 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.3052, allocations: 176.4 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.3057, allocations: 308.7 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.3059, allocations: 198.9 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.3059, allocations: 8.375 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.3066, allocations: 300.1 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3066, allocations: 0 / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.3067, allocations: 12 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3067, allocations: 0 / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3077, allocations: 416.4 kB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.3094, allocations: 0.8383 MB / 1.336 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.31, allocations: 258.4 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.3105, allocations: 208.7 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.3105, allocations: 3.984 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3106, allocations: 38.56 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.864e-06/0.3106, allocations: 3.938 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001697/0.3123, allocations: 0.6418 MB / 1.337 GB, free: 7.336 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3123, allocations: 59.34 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.3128, allocations: 433.6 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.3129, allocations: 25.7 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.313, allocations: 180 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.3131, allocations: 59.48 kB / 1.338 GB, free: 6.562 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3132, allocations: 41.7 kB / 1.338 GB, free: 6.516 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3134, allocations: 346.8 kB / 1.338 GB, free: 6.168 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.3139, allocations: 195.8 kB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005317/0.3144, allocations: 228.8 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009455/0.3153, allocations: 378.2 kB / 1.339 GB, free: 5.371 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3153, allocations: 3.938 kB / 1.339 GB, free: 5.367 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001147/0.3165, allocations: 469.1 kB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3165, allocations: 4 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3165, allocations: 0 / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3165, allocations: 0 / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.317, allocations: 63.86 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.317, allocations: 7.922 kB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.3173, allocations: 47.84 kB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.3173, allocations: 7.984 kB / 1.339 GB, free: 4.773 MB / 1.029 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.0002051/0.3176, allocations: 162.4 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/0.3176, allocations: 35.77 kB / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.3177, allocations: 43.52 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3177, allocations: 4 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3177, allocations: 3.938 kB / 1.34 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3177, allocations: 7.938 kB / 1.34 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.3183, allocations: 445.9 kB / 1.34 GB, free: 4.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3183, allocations: 0 / 1.34 GB, free: 4.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.3187, allocations: 59.88 kB / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3187, allocations: 3.984 kB / 1.34 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.3187, allocations: 8.047 kB / 1.34 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3187, allocations: 0 / 1.34 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/0.3187, allocations: 7.922 kB / 1.34 GB, free: 3.961 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3199, allocations: 0.5552 MB / 1.341 GB, free: 3.391 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.32, allocations: 43.75 kB / 1.341 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.32, allocations: 4 kB / 1.341 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.3203, allocations: 35.89 kB / 1.341 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/0.3204, allocations: 35.83 kB / 1.341 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.3205, allocations: 11.98 kB / 1.341 GB, free: 3.262 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003348/0.3208, allocations: 307.1 kB / 1.341 GB, free: 2.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3208, allocations: 4 kB / 1.341 GB, free: 2.961 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003106/0.3211, allocations: 60 kB / 1.341 GB, free: 2.902 MB / 1.029 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.0001311/0.3212, allocations: 103.2 kB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.3224, allocations: 425.7 kB / 1.342 GB, free: 2.375 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3224, allocations: 0 / 1.342 GB, free: 2.375 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005507/0.3229, allocations: 219.8 kB / 1.342 GB, free: 2.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3233, allocations: 45.42 kB / 1.342 GB, free: 2.117 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.3247, allocations: 0.7283 MB / 1.342 GB, free: 1.355 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3251, allocations: 0.7909 MB / 1.343 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.3253, allocations: 27.42 kB / 1.343 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3253, allocations: 0 / 1.343 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of Templates: time 0.007496/0.3328, allocations: 5.031 MB / 1.348 GB, free: 11.51 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.300177669996629]