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.00172/0.00172, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002385/0.002385, allocations: 213 kB / 22.25 MB, free: 5.086 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 8.027 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.359/3.359, allocations: 0.5096 GB / 0.8147 GB, free: 17.26 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.002112/0.002112, allocations: 63.88 kB / 1.184 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3677, allocations: 181.4 MB / 1.361 GB, free: 208 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002752/0.3704, allocations: 1.482 MB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3719, allocations: 0.8502 MB / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.3719, allocations: 0 / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.935e-05/0.372, allocations: 0 / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.896e-05/0.372, allocations: 7.938 kB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.3727, allocations: 175.5 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.3728, allocations: 47.91 kB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.806e-05/0.3729, allocations: 11.98 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.3729, allocations: 15.92 kB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.373, allocations: 23.92 kB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.373, allocations: 4 kB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.3734, allocations: 227.7 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.3734, allocations: 4 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.3735, allocations: 23.86 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.3738, allocations: 191.5 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3738, allocations: 4 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3738, allocations: 0 / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3738, allocations: 0 / 1.364 GB, free: 13.13 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.0004889/0.3743, allocations: 361.3 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3743, allocations: 8.031 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.3744, allocations: 8.891 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3745, allocations: 118.4 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3745, allocations: 4.359 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3745, allocations: 7.938 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3747, allocations: 69.67 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3747, allocations: 0 / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3747, allocations: 4 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.3747, allocations: 3.938 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.3748, allocations: 55.88 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.3752, allocations: 244 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.3753, allocations: 58.55 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/0.3754, allocations: 44.91 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3754, allocations: 4 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3755, allocations: 34.56 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3755, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004004/0.3759, allocations: 191.2 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.3759, allocations: 77.11 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.376, allocations: 129.8 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.376, allocations: 25.73 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.3761, allocations: 92.12 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.3761, allocations: 11.95 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.3762, allocations: 21.7 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3763, allocations: 318.8 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.3764, allocations: 59.95 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.704e-05/0.3765, allocations: 59.91 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.3767, allocations: 201.9 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3767, allocations: 0 / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003142/0.3771, allocations: 225 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.3771, allocations: 59.41 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3771, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3771, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.3772, allocations: 7.984 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3772, allocations: 0 / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.3772, allocations: 11.94 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3773, allocations: 4 kB / 1.367 GB, free: 10.41 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.0001176/0.3774, allocations: 151.5 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.3774, allocations: 7.953 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.3774, allocations: 8 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3774, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3774, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3774, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.3776, allocations: 144.7 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3776, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.3776, allocations: 11.92 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3776, allocations: 4 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3777, allocations: 4 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3777, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3777, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.3779, allocations: 249.1 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.378, allocations: 7.938 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.378, allocations: 3.984 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.378, allocations: 8.031 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.3781, allocations: 4 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3782, allocations: 7.984 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.3782, allocations: 99.27 kB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3782, allocations: 0 / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003167/0.3785, allocations: 63.81 kB / 1.368 GB, free: 9.559 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.000257/0.3788, allocations: 151.1 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.3792, allocations: 238.7 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3792, allocations: 0 / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.3793, allocations: 99.38 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.3795, allocations: 3.984 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.3799, allocations: 181.8 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3802, allocations: 0.6846 MB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.983e-05/0.3803, allocations: 4.062 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.3803, allocations: 11.44 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of SimCode: time 3.6e-07/0.3803, allocations: 0 / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of Templates: time 0.004757/0.385, allocations: 1.737 MB / 1.371 GB, free: 6.402 MB / 1.061 GB " [Timeout remaining time 300] 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/jenkins/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: 9.174204190727323]