Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001702/0.001702, allocations: 110.2 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.002632/0.002632, allocations: 212.3 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00207/0.00207, allocations: 64 kB / 1.119 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3725, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002902/0.3754, allocations: 1.47 MB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.3769, allocations: 0.8471 MB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.3769, allocations: 0 / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.922e-05/0.377, allocations: 4 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.3771, allocations: 3.938 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.3778, allocations: 183.5 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3779, allocations: 51.84 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.846e-05/0.3779, allocations: 8 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.378, allocations: 15.98 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.378, allocations: 15.92 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.3781, allocations: 7.984 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.3785, allocations: 227.7 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.3785, allocations: 8 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.3786, allocations: 23.84 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.3789, allocations: 203.3 kB / 1.288 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3789, allocations: 0 / 1.288 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3789, allocations: 4 kB / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3789, allocations: 0 / 1.288 GB, free: 8.152 MB / 0.9825 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.0005685/0.3795, allocations: 357.4 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3795, allocations: 8.031 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.3795, allocations: 8.891 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.3797, allocations: 114.4 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3797, allocations: 384 / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.3797, allocations: 4.375 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3799, allocations: 85.97 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3799, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3799, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3799, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.38, allocations: 51.91 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.3805, allocations: 247.9 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.3806, allocations: 58.55 kB / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.129e-05/0.3807, allocations: 48.91 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.3807, allocations: 0 / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.3807, allocations: 34.56 kB / 1.289 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3807, allocations: 0 / 1.289 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004227/0.3811, allocations: 183.2 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.3812, allocations: 85.11 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3813, allocations: 133.8 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3814, allocations: 25.7 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.3814, allocations: 88.14 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.3814, allocations: 7.891 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.3815, allocations: 25.7 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3816, allocations: 310.8 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3817, allocations: 63.95 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3818, allocations: 55.97 kB / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.3821, allocations: 205.8 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3821, allocations: 0 / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003149/0.3824, allocations: 217.2 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/0.3825, allocations: 67.39 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3825, allocations: 0 / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3825, allocations: 4.031 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.13e-05/0.3826, allocations: 4 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3826, allocations: 3.984 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.3826, allocations: 8 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3826, allocations: 4 kB / 1.29 GB, free: 5.441 MB / 0.9825 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.0001321/0.3828, allocations: 151.5 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.3828, allocations: 7.891 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.3828, allocations: 8 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3828, allocations: 0 / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.3828, allocations: 0 / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3828, allocations: 0 / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.3831, allocations: 148.7 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3831, allocations: 4 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.3831, allocations: 3.938 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3831, allocations: 7.984 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3831, allocations: 0 / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.3831, allocations: 0 / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3831, allocations: 0 / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.3834, allocations: 249.1 kB / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.3834, allocations: 3.953 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.3834, allocations: 8.031 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.3835, allocations: 7.984 kB / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.3836, allocations: 7.938 kB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.3836, allocations: 4 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.3837, allocations: 95.27 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3837, allocations: 0 / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003169/0.384, allocations: 63.86 kB / 1.291 GB, free: 4.602 MB / 0.9825 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.0002706/0.3843, allocations: 147.2 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.3846, allocations: 234.7 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3847, allocations: 4 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.3848, allocations: 95.38 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.385, allocations: 14.56 kB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.3854, allocations: 199.2 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3858, allocations: 0.6924 MB / 1.292 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.3858, allocations: 7.438 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3858, allocations: 0 / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of Templates: time 0.003657/0.3895, allocations: 1.512 MB / 1.294 GB, free: 1.613 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.735655625991058]