Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001752/0.001752, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002951/0.002951, allocations: 214.7 kB / 22.99 MB, free: 4.945 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.626/1.626, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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 3.608/3.608, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_latest_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_latest_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.002182/0.002182, allocations: 71.97 kB / 1.187 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4808, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00335/0.4842, allocations: 1.47 MB / 1.366 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.486, allocations: 0.7802 MB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.486, allocations: 0 / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.561e-05/0.4861, allocations: 3.938 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.4862, allocations: 3.938 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.4869, allocations: 183.5 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.4871, allocations: 43.97 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.4872, allocations: 7.938 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.4872, allocations: 23.91 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.4873, allocations: 15.98 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.4873, allocations: 4 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.4877, allocations: 203.7 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.4878, allocations: 15.91 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.4878, allocations: 15.94 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.4882, allocations: 199.5 kB / 1.368 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4882, allocations: 0 / 1.368 GB, free: 10.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4882, allocations: 0 / 1.368 GB, free: 10.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.4882, allocations: 0 / 1.368 GB, free: 10.66 MB / 1.061 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.000631/0.4888, allocations: 353.4 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4888, allocations: 12.03 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.4889, allocations: 4.891 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.489, allocations: 114.4 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4891, allocations: 4.375 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.4891, allocations: 7.938 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.4893, allocations: 111.3 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4893, allocations: 0 / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4893, allocations: 0 / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4893, allocations: 0 / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.4895, allocations: 77.66 kB / 1.368 GB, free: 9.906 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.4899, allocations: 220.5 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.4901, allocations: 84.19 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4902, allocations: 78.61 kB / 1.369 GB, free: 9.477 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.4902, allocations: 4 kB / 1.369 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.4903, allocations: 30.56 kB / 1.369 GB, free: 9.434 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.4903, allocations: 0 / 1.369 GB, free: 9.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004828/0.4908, allocations: 246.7 kB / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.4908, allocations: 77.11 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.491, allocations: 125.8 kB / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.491, allocations: 29.7 kB / 1.369 GB, free: 8.906 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.4911, allocations: 88.08 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.4911, allocations: 15.88 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.4911, allocations: 25.75 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4913, allocations: 318.8 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.4915, allocations: 115.4 kB / 1.37 GB, free: 8.324 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.4916, allocations: 119.4 kB / 1.37 GB, free: 8.195 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.4919, allocations: 197.9 kB / 1.37 GB, free: 7.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4919, allocations: 64 / 1.37 GB, free: 7.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003734/0.4923, allocations: 284.4 kB / 1.37 GB, free: 7.672 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/0.4923, allocations: 63.39 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4924, allocations: 0 / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4924, allocations: 4 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.4924, allocations: 8.172 kB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4924, allocations: 0 / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.4925, allocations: 15.92 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.4925, allocations: 4 kB / 1.37 GB, free: 7.566 MB / 1.061 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.0001481/0.4927, allocations: 148.6 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.4927, allocations: 15.92 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.4927, allocations: 4 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4927, allocations: 0 / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4927, allocations: 0 / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.4927, allocations: 8 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.4929, allocations: 117.2 kB / 1.371 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4929, allocations: 0 / 1.371 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.4929, allocations: 7.984 kB / 1.371 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4929, allocations: 0 / 1.371 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.4929, allocations: 4 kB / 1.371 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4929, allocations: 0 / 1.371 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4929, allocations: 0 / 1.371 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.4933, allocations: 282.7 kB / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.4933, allocations: 11.92 kB / 1.371 GB, free: 6.895 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.4933, allocations: 4.031 kB / 1.371 GB, free: 6.891 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.4934, allocations: 4 kB / 1.371 GB, free: 6.887 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.4935, allocations: 7.984 kB / 1.371 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4936, allocations: 4 kB / 1.371 GB, free: 6.875 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.677e-05/0.4936, allocations: 95.27 kB / 1.371 GB, free: 6.781 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4936, allocations: 0 / 1.371 GB, free: 6.781 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003348/0.494, allocations: 59.88 kB / 1.371 GB, free: 6.723 MB / 1.061 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.0003087/0.4943, allocations: 147.1 kB / 1.371 GB, free: 6.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.4947, allocations: 323.8 kB / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4947, allocations: 0 / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.4949, allocations: 137 kB / 1.372 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.4951, allocations: 11.88 kB / 1.372 GB, free: 6.047 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.4956, allocations: 232.9 kB / 1.372 GB, free: 5.781 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.914e-05/0.4957, allocations: 75.33 kB / 1.372 GB, free: 5.688 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.4957, allocations: 7.438 kB / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of SimCode: time 4.8e-07/0.4957, allocations: 0 / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of Templates: time 0.004134/0.4999, allocations: 1.518 MB / 1.373 GB, free: 4.168 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.531054188031703]