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.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001373/0.001372, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 64.08 kB / 0.8991 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3176, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003111/0.3207, allocations: 1.506 MB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3223, allocations: 0.8143 MB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.3224, allocations: 0 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.559e-05/0.3225, allocations: 0 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.3226, allocations: 11.92 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.3232, allocations: 123.8 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.464e-05/0.3233, allocations: 35.97 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.3234, allocations: 8 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.725e-05/0.3235, allocations: 19.92 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.3235, allocations: 23.8 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3236, allocations: 4 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.3239, allocations: 191.7 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.324, allocations: 7.984 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.3241, allocations: 23.88 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.3243, allocations: 123.8 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3243, allocations: 0 / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3243, allocations: 0 / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3244, allocations: 0 / 1.056 GB, free: 5.379 MB / 0.8106 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.0005807/0.3249, allocations: 435.1 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.325, allocations: 8.031 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.3251, allocations: 8.844 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3252, allocations: 172.2 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3252, allocations: 8.359 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.3252, allocations: 4.375 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.3255, allocations: 77.97 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3255, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3255, allocations: 4 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3255, allocations: 4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.3256, allocations: 47.91 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.326, allocations: 272.9 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3262, allocations: 58.55 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.3263, allocations: 52.86 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3263, allocations: 7.984 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3263, allocations: 30.56 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 3.096e-06/0.3264, allocations: 0 / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004094/0.3268, allocations: 179.3 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.3268, allocations: 81.11 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.327, allocations: 125.7 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.327, allocations: 33.73 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.327, allocations: 84.14 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3271, allocations: 15.83 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.3271, allocations: 17.72 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3273, allocations: 322.8 kB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3274, allocations: 55.97 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.3275, allocations: 55.97 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.3277, allocations: 205.8 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.3277, allocations: 0 / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003236/0.328, allocations: 220.9 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/0.3281, allocations: 63.41 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3281, allocations: 0 / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3281, allocations: 0 / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.3282, allocations: 11.92 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3282, allocations: 0 / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.3283, allocations: 4 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3283, allocations: 8 kB / 1.058 GB, free: 2.469 MB / 0.8106 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.0001096/0.3284, allocations: 151.5 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.3285, allocations: 4 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.3285, allocations: 3.906 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3285, allocations: 0 / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3285, allocations: 0 / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3285, allocations: 0 / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.3287, allocations: 185.5 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3287, allocations: 3.938 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.3287, allocations: 11.92 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3288, allocations: 4 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3288, allocations: 0 / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3288, allocations: 0 / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3288, allocations: 0 / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.3291, allocations: 249.4 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.3291, allocations: 85 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.3292, allocations: 0 / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.3292, allocations: 12.02 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3294, allocations: 8 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3294, allocations: 4 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.3295, allocations: 99.64 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3295, allocations: 0 / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003355/0.3298, allocations: 59.98 kB / 1.059 GB, free: 1.496 MB / 0.8106 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.0002988/0.3301, allocations: 155.2 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.3305, allocations: 238.7 kB / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3305, allocations: 4 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.3306, allocations: 95.38 kB / 1.059 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.3309, allocations: 13.97 kB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.3313, allocations: 212.9 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3316, allocations: 0.6849 MB / 1.06 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.3316, allocations: 11.44 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3317, allocations: 0 / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of Templates: time 0.003482/0.3351, allocations: 1.489 MB / 1.062 GB, free: 14.5 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) 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) Reference file matches