Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.004595/0.004595, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001184/0.001184, allocations: 194.6 kB / 16.67 MB, free: 5.938 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 1.019 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2763, allocations: 151.6 MB / 1.167 GB, free: 6.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002303/0.2786, allocations: 1.428 MB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2799, allocations: 0.78 MB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.2799, allocations: 0 / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.35e-05/0.28, allocations: 3.938 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.53e-05/0.2801, allocations: 0 / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.2807, allocations: 187 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2808, allocations: 43.91 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.123e-05/0.2809, allocations: 8 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.2809, allocations: 15.98 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.281, allocations: 19.92 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.281, allocations: 4 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.2814, allocations: 207.7 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.2814, allocations: 11.98 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.462e-05/0.2814, allocations: 15.88 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.2817, allocations: 195.4 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2817, allocations: 4 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2817, allocations: 0 / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2818, allocations: 0 / 1.169 GB, free: 3.953 MB / 0.92 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.0004707/0.2822, allocations: 430.5 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2823, allocations: 12.03 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.2823, allocations: 4.891 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2824, allocations: 176.3 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2825, allocations: 8.375 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.2825, allocations: 384 / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.2827, allocations: 73.98 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2827, allocations: 7.922 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2827, allocations: 4 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2827, allocations: 4 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.2828, allocations: 43.97 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.2832, allocations: 276.9 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.2833, allocations: 58.55 kB / 1.171 GB, free: 2.715 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.2835, allocations: 52.91 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.2835, allocations: 4 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.2835, allocations: 34.5 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2835, allocations: 0 / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004076/0.2839, allocations: 187.3 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.284, allocations: 77.11 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2841, allocations: 129.8 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.2841, allocations: 29.7 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.2842, allocations: 84.17 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.2842, allocations: 15.94 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.2843, allocations: 17.7 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2844, allocations: 318.8 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.2845, allocations: 59.95 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.917e-05/0.2846, allocations: 59.91 kB / 1.172 GB, free: 1.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.2849, allocations: 193.8 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2849, allocations: 4 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002948/0.2852, allocations: 220.9 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.2852, allocations: 67.39 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2852, allocations: 0 / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2853, allocations: 64 / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.2853, allocations: 8 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.2853, allocations: 0 / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.2854, allocations: 15.92 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2854, allocations: 0 / 1.172 GB, free: 1.039 MB / 0.92 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.0001051/0.2855, allocations: 159.4 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.2856, allocations: 7.953 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.2856, allocations: 3.906 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2856, allocations: 0 / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2856, allocations: 0 / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2856, allocations: 0 / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.2858, allocations: 177.6 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2858, allocations: 0 / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.2858, allocations: 4 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2858, allocations: 4 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2858, allocations: 0 / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.2858, allocations: 3.984 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2858, allocations: 0 / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.2861, allocations: 253.1 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.2862, allocations: 77.11 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.2862, allocations: 4 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.2863, allocations: 12.02 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2864, allocations: 3.938 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.2864, allocations: 8 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.2865, allocations: 103.6 kB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2865, allocations: 0 / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003243/0.2868, allocations: 55.92 kB / 1.173 GB, free: 68 kB / 0.92 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.0002725/0.2871, allocations: 151.1 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.2875, allocations: 246.7 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2875, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2876, allocations: 103.4 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2879, allocations: 7.938 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.2882, allocations: 173.3 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.2885, allocations: 0.6885 MB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.593e-05/0.2885, allocations: 0 / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.2885, allocations: 11.5 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2885, allocations: 0 / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of Templates: time 0.004133/0.2927, allocations: 1.756 MB / 1.176 GB, free: 12.88 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches