Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.00196/0.00196, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00242/0.00242, allocations: 210.2 kB / 22.99 MB, free: 4.957 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.405/3.405, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] 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.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [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.002088/0.002088, allocations: 72.34 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4699, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003458/0.4734, allocations: 1.469 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.4752, allocations: 0.7715 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.4753, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.634e-05/0.4754, allocations: 7.938 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.4754, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007945/0.4762, allocations: 187.4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.4764, allocations: 43.97 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4765, allocations: 7.984 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.689e-05/0.4765, allocations: 15.98 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.4766, allocations: 23.92 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.4766, allocations: 4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.477, allocations: 219.7 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.4771, allocations: 15.92 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.4771, allocations: 11.94 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.4774, allocations: 195.5 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4774, allocations: 4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4774, allocations: 3.938 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.4774, allocations: 0 / 1.33 GB, free: 13.99 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006169/0.4781, allocations: 357.4 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4781, allocations: 12.03 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.4781, allocations: 8.891 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.4783, allocations: 110.5 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4783, allocations: 4.312 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.4783, allocations: 4.375 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.4785, allocations: 107.7 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4785, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.4786, allocations: 4 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4786, allocations: 3.938 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.4787, allocations: 69.67 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.4791, allocations: 228.5 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.4793, allocations: 88.19 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.4794, allocations: 70.61 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.4794, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.4795, allocations: 38.5 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4795, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004759/0.48, allocations: 242.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.48, allocations: 77.11 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.4802, allocations: 133.8 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.4802, allocations: 25.7 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.4803, allocations: 88.14 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.4803, allocations: 7.938 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.4803, allocations: 29.64 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4805, allocations: 318.8 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.4806, allocations: 115.4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.4808, allocations: 119.4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.4811, allocations: 201.9 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4811, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003881/0.4814, allocations: 288.3 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.418e-05/0.4815, allocations: 63.39 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4815, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4815, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/0.4816, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.4816, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.4817, allocations: 15.92 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.4817, allocations: 4 kB / 1.333 GB, free: 10.89 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 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.0001491/0.4818, allocations: 152 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.4818, allocations: 3.953 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.4819, allocations: 11.98 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4819, allocations: 3.938 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4819, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4819, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.4821, allocations: 109.3 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4821, allocations: 3.938 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.4821, allocations: 7.984 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4821, allocations: 3.938 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.4821, allocations: 8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4821, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4821, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.4825, allocations: 274.9 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.4825, allocations: 11.88 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.4825, allocations: 4 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.4826, allocations: 4 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.4827, allocations: 7.984 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.4827, allocations: 4 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.538e-05/0.4828, allocations: 103.2 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4828, allocations: 4.031 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003511/0.4832, allocations: 59.81 kB / 1.333 GB, free: 10.04 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0003482/0.4835, allocations: 151.1 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.484, allocations: 319.8 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.484, allocations: 0 / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.4841, allocations: 129.1 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4844, allocations: 9.25 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.4849, allocations: 215.2 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.892e-05/0.485, allocations: 71.25 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.485, allocations: 7.938 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.485, allocations: 7.438 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.485, allocations: 0 / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of Templates: time 0.005148/0.4902, allocations: 1.809 MB / 1.336 GB, free: 7.266 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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: 9.864437210999313]