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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009552/0.0009553, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005834/0.005834, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 462.6 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 11.97 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2781, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001382/0.2795, allocations: 1.163 MB / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2807, allocations: 0.8104 MB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.2808, allocations: 0 / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.2808, allocations: 3.984 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.2809, allocations: 3.938 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.2814, allocations: 139 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.811e-05/0.2814, allocations: 31.98 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.063e-05/0.2815, allocations: 11.92 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.2815, allocations: 11.94 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.2816, allocations: 19.92 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2816, allocations: 0 / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.2819, allocations: 195.7 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.282, allocations: 11.92 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.282, allocations: 41.58 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.2823, allocations: 187.6 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2823, allocations: 0 / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2823, allocations: 0 / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.2823, allocations: 0 / 1.061 GB, free: 2.824 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.0004107/0.2827, allocations: 419.1 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.2827, allocations: 12.03 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.2828, allocations: 8.844 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.824e-05/0.2829, allocations: 172.3 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2829, allocations: 4.375 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.2829, allocations: 12.36 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.2831, allocations: 81.92 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.2831, allocations: 3.938 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.2831, allocations: 0 / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.2831, allocations: 0 / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.2833, allocations: 51.95 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.2836, allocations: 284.8 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.2837, allocations: 62.48 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.2838, allocations: 48.91 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.2838, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.2839, allocations: 38.56 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2839, allocations: 0 / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003678/0.2842, allocations: 187.3 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2843, allocations: 77.11 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.2844, allocations: 125.8 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2844, allocations: 25.7 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.2845, allocations: 96.02 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.2845, allocations: 19.83 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.2845, allocations: 13.72 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.2846, allocations: 318.8 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-05/0.2847, allocations: 55.97 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.2848, allocations: 59.95 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.285, allocations: 205.8 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2851, allocations: 0 / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002779/0.2853, allocations: 217 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/0.2854, allocations: 63.39 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2854, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.2854, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.2855, allocations: 11.88 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2855, allocations: 8 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.2856, allocations: 7.906 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2856, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 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.422e-05/0.2857, allocations: 151.5 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.2857, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.2857, allocations: 19.83 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2858, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2858, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2858, allocations: 4 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.2859, allocations: 177.6 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2859, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.286, allocations: 4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.286, allocations: 64 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.286, allocations: 4 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.286, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.286, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.2863, allocations: 265.2 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.2863, allocations: 81.09 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.2864, allocations: 4 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.2864, allocations: 8 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.2865, allocations: 7.984 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.2866, allocations: 0 / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.964e-05/0.2866, allocations: 99.64 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2866, allocations: 4.031 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003659/0.287, allocations: 56 kB / 1.065 GB, free: 14.92 MB / 0.8262 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.000248/0.2872, allocations: 155.2 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.2876, allocations: 238.7 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2876, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2877, allocations: 107.4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.2879, allocations: 15.86 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.2883, allocations: 188.5 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.2885, allocations: 0.6809 MB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.36e-05/0.2885, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.2885, allocations: 11.5 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2885, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.003801/0.2923, allocations: 1.641 MB / 1.068 GB, free: 11.82 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/jenkins/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