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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00724/0.00724, allocations: 96.73 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 192 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.72/2.72, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2793, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00238/0.2816, allocations: 1.445 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2829, allocations: 0.7792 MB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.2829, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.337e-05/0.2829, allocations: 3.984 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.283, allocations: 11.92 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.2836, allocations: 171.5 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.2837, allocations: 47.91 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.067e-05/0.2838, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.713e-05/0.2838, allocations: 19.92 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.2839, allocations: 19.97 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.2839, allocations: 4 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.2842, allocations: 195.7 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.2842, allocations: 15.92 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.2843, allocations: 23.88 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.2845, allocations: 187.5 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2845, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2845, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2845, allocations: 0 / 1.223 GB, free: 10.9 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.0004889/0.285, allocations: 434.5 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.2851, allocations: 11.97 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.2851, allocations: 8.891 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2852, allocations: 184.2 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.2853, allocations: 384 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.2853, allocations: 4.375 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.2854, allocations: 81.97 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2855, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.2855, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2855, allocations: 3.984 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.2856, allocations: 47.97 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.2859, allocations: 280.8 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.2861, allocations: 62.48 kB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.591e-05/0.2861, allocations: 48.91 kB / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.2861, allocations: 0 / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2862, allocations: 30.56 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.2862, allocations: 0 / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003685/0.2865, allocations: 191.3 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.2866, allocations: 85.05 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.2867, allocations: 121.8 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.2867, allocations: 25.7 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.2867, allocations: 88.12 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.2867, allocations: 7.953 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.2868, allocations: 21.72 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.2869, allocations: 318.9 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.881e-05/0.287, allocations: 55.97 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/0.2871, allocations: 59.95 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.2873, allocations: 193.8 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2873, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002648/0.2875, allocations: 220.9 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.2876, allocations: 65.28 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2876, allocations: 3.984 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2876, allocations: 8.062 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.2877, allocations: 7.938 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2877, allocations: 0 / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.2877, allocations: 8 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2877, allocations: 3.984 kB / 1.226 GB, free: 7.984 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 9.91e-05/0.2878, allocations: 152 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.2878, allocations: 7.953 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.2879, allocations: 3.906 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2879, allocations: 4 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2879, allocations: 7.984 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2879, allocations: 0 / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.288, allocations: 173.5 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.288, allocations: 3.984 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.2881, allocations: 4 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2881, allocations: 0 / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2881, allocations: 0 / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2881, allocations: 0 / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2881, allocations: 0 / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.2883, allocations: 261 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.2884, allocations: 81.05 kB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.2884, allocations: 7.984 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.2885, allocations: 4 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/0.2886, allocations: 7.984 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.2886, allocations: 4 kB / 1.227 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.043e-05/0.2886, allocations: 95.27 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2886, allocations: 4.031 kB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003161/0.2889, allocations: 55.94 kB / 1.227 GB, free: 7.012 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.0002417/0.2892, allocations: 151.1 kB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000298/0.2895, allocations: 230.7 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2895, allocations: 0 / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.2896, allocations: 111.2 kB / 1.227 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.2898, allocations: 9.125 kB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.2901, allocations: 193.5 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2903, allocations: 0.6807 MB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.533e-05/0.2903, allocations: 3.984 kB / 1.228 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.2904, allocations: 11.44 kB / 1.228 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of SimCode: time 7.52e-07/0.2904, allocations: 0 / 1.228 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of Templates: time 0.003904/0.2943, allocations: 1.764 MB / 1.23 GB, free: 3.812 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) 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) Reference file matches