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.001143/0.001143, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001328/0.001328, allocations: 193.7 kB / 16.25 MB, free: 6.621 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 / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 72.84 kB / 0.8986 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2854, allocations: 157.4 MB / 1.052 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002607/0.2881, allocations: 1.498 MB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2893, allocations: 0.7986 MB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.2893, allocations: 7.938 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.029e-05/0.2894, allocations: 3.938 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.376e-05/0.2895, allocations: 0 / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.2902, allocations: 154.8 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2903, allocations: 51.89 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.558e-05/0.2904, allocations: 4 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.2904, allocations: 19.92 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.2905, allocations: 11.98 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2905, allocations: 4 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.2908, allocations: 207.7 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.2909, allocations: 11.98 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.2909, allocations: 23.86 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.2912, allocations: 187.9 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2912, allocations: 0 / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2912, allocations: 0 / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2912, allocations: 0 / 1.055 GB, free: 5.742 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.0004923/0.2917, allocations: 430.8 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2917, allocations: 8.625 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.2918, allocations: 8.844 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2919, allocations: 172.3 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2919, allocations: 4.312 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.292, allocations: 8.375 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.2922, allocations: 81.91 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2922, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2922, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2922, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.2923, allocations: 43.97 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.2927, allocations: 280.9 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.2928, allocations: 62.48 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.2929, allocations: 44.91 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.2929, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.293, allocations: 38.56 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.293, allocations: 4 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003769/0.2934, allocations: 179.3 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.2934, allocations: 81.05 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.2935, allocations: 129.7 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.2936, allocations: 25.7 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.2936, allocations: 88.14 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.2936, allocations: 11.84 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.2937, allocations: 17.72 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.2938, allocations: 322.9 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/0.2939, allocations: 55.97 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.136e-05/0.294, allocations: 67.89 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.2942, allocations: 193.8 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2942, allocations: 0 / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002627/0.2945, allocations: 216.9 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.2945, allocations: 63.39 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2945, allocations: 7.938 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2946, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.2946, allocations: 4 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2946, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.2947, allocations: 8 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.2947, allocations: 7.984 kB / 1.058 GB, free: 2.84 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 9.581e-05/0.2948, allocations: 143.5 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.2948, allocations: 8 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.2949, allocations: 19.89 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2949, allocations: 240 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2949, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2949, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.295, allocations: 185.5 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.2951, allocations: 0 / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.2951, allocations: 4 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2951, allocations: 0 / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2951, allocations: 4 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2951, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2951, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.2954, allocations: 253.1 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.2954, allocations: 89 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.2955, allocations: 0 / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.2955, allocations: 4 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.2957, allocations: 7.984 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.2957, allocations: 0 / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.923e-05/0.2957, allocations: 107.7 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2958, allocations: 0 / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003176/0.2961, allocations: 52 kB / 1.059 GB, free: 1.871 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.0002893/0.2964, allocations: 155.2 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.2967, allocations: 238.7 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2967, allocations: 0 / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2968, allocations: 107.3 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.2971, allocations: 16 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.2974, allocations: 181.4 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2978, allocations: 0.6846 MB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.446e-05/0.2978, allocations: 3.938 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.498e-05/0.2978, allocations: 11.38 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2978, allocations: 4 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of Templates: time 0.004383/0.3022, allocations: 1.693 MB / 1.062 GB, free: 14.73 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