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.00139/0.00139, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00169/0.00169, allocations: 209 kB / 22.24 MB, free: 5.262 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.828 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.906/2.906, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] 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.002264/0.002264, allocations: 65.52 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4102, allocations: 170 MB / 1.283 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002986/0.4132, allocations: 1.471 MB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.4149, allocations: 0.7733 MB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.4149, allocations: 4 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.373e-05/0.415, allocations: 4 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.415, allocations: 3.938 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.4157, allocations: 182.9 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.4158, allocations: 43.89 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.4159, allocations: 8 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.416, allocations: 19.92 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.416, allocations: 15.98 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.4161, allocations: 4 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.4165, allocations: 219.6 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.4165, allocations: 11.92 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.4166, allocations: 15.94 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.4169, allocations: 195.5 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4169, allocations: 0 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4169, allocations: 0 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.4169, allocations: 0 / 1.286 GB, free: 9.094 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.0006271/0.4176, allocations: 357.4 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4176, allocations: 8.031 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.4176, allocations: 12.89 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4178, allocations: 114.4 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.4178, allocations: 384 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.4178, allocations: 4.375 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.4181, allocations: 111.7 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4181, allocations: 0 / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.4181, allocations: 0 / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4181, allocations: 0 / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.4182, allocations: 73.67 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.4187, allocations: 228.5 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.4188, allocations: 92.12 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.4189, allocations: 78.61 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.4189, allocations: 0 / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.419, allocations: 30.56 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.419, allocations: 3.938 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004795/0.4195, allocations: 242.7 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.4195, allocations: 81.11 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.4196, allocations: 121.8 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.4197, allocations: 33.73 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.4197, allocations: 88.09 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.4198, allocations: 7.953 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.4198, allocations: 21.7 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.42, allocations: 318.8 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.4201, allocations: 119.4 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.4203, allocations: 115.4 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.4205, allocations: 193.9 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4205, allocations: 4.062 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003878/0.4209, allocations: 292.3 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/0.421, allocations: 67.39 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.421, allocations: 0 / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.421, allocations: 0 / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.4211, allocations: 4.234 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4211, allocations: 0 / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.4211, allocations: 15.83 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.4211, allocations: 7.984 kB / 1.289 GB, free: 5.992 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.0001577/0.4213, allocations: 147.5 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.4213, allocations: 11.98 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.4214, allocations: 7.984 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4214, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4214, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4214, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.4215, allocations: 121.3 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4215, allocations: 3.938 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.4216, allocations: 3.984 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4216, allocations: 4 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.4216, allocations: 0 / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4216, allocations: 3.938 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4216, allocations: 4 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.4219, allocations: 274.8 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.4219, allocations: 15.88 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.4219, allocations: 0 / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.422, allocations: 4 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.4221, allocations: 7.984 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.4221, allocations: 4 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.132e-05/0.4222, allocations: 99.64 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4222, allocations: 0 / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003419/0.4226, allocations: 55.91 kB / 1.289 GB, free: 5.16 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.0002914/0.4228, allocations: 155.1 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004706/0.4233, allocations: 319.8 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4233, allocations: 0 / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.4235, allocations: 133 kB / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.4237, allocations: 7.938 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.4242, allocations: 209.2 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.556e-05/0.4243, allocations: 79.34 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.726e-05/0.4243, allocations: 0 / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.4243, allocations: 7.438 kB / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4243, allocations: 0 / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of Templates: time 0.005395/0.4297, allocations: 1.786 MB / 1.292 GB, free: 2.406 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/jenkins/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: 9.601086977869272]