Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001179/0.001179, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001158/0.001158, allocations: 188 kB / 16.25 MB, free: 6.633 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.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 59.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6806/0.6822, allocations: 140.4 MB / 0.9491 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002275/0.6845, allocations: 1.491 MB / 0.9506 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.6856, allocations: 0.7777 MB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.6856, allocations: 1.156 kB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.79e-05/0.6857, allocations: 0 / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.6857, allocations: 9.188 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.6863, allocations: 152 kB / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.236e-05/0.6864, allocations: 49.75 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.6865, allocations: 15.61 kB / 0.9515 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.6865, allocations: 9.844 kB / 0.9516 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.639e-05/0.6865, allocations: 25.84 kB / 0.9516 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.6866, allocations: 3.531 kB / 0.9516 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.6868, allocations: 200.3 kB / 0.9518 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.6869, allocations: 15.66 kB / 0.9518 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.6869, allocations: 16.97 kB / 0.9518 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.6872, allocations: 195 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6872, allocations: 0 / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6872, allocations: 0 / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.6872, allocations: 4 kB / 0.952 GB, free: 7.051 MB / 0.7169 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.0003593/0.6876, allocations: 426.5 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.6876, allocations: 9.719 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.6876, allocations: 6.344 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.534e-05/0.6877, allocations: 172.1 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.6877, allocations: 1.844 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.6878, allocations: 6 kB / 0.9526 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.6879, allocations: 82.84 kB / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.6879, allocations: 4 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.688, allocations: 0.9062 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.688, allocations: 1.469 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.6881, allocations: 44.22 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.6884, allocations: 279.1 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.6885, allocations: 57.45 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.6886, allocations: 50.61 kB / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.6886, allocations: 0 / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.6887, allocations: 39.64 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.6887, allocations: 0 / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003359/0.689, allocations: 181.9 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.6891, allocations: 78.33 kB / 0.9534 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.026e-05/0.6891, allocations: 127.6 kB / 0.9535 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.6891, allocations: 31.42 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.6892, allocations: 89.77 kB / 0.9536 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.6892, allocations: 9.234 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.6892, allocations: 20.62 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.6893, allocations: 325.7 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/0.6894, allocations: 63.83 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.124e-05/0.6895, allocations: 56.53 kB / 0.9541 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.6897, allocations: 197.5 kB / 0.9542 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6897, allocations: 0 / 0.9542 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002334/0.6899, allocations: 212.7 kB / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.69, allocations: 67.61 kB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.69, allocations: 1.188 kB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.69, allocations: 0 / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/0.69, allocations: 3.812 kB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6901, allocations: 3.984 kB / 0.9545 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.6901, allocations: 12.41 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.6901, allocations: 15 kB / 0.9545 GB, free: 4.668 MB / 0.7169 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 7.013e-05/0.6902, allocations: 146 kB / 0.9547 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.6902, allocations: 8.094 kB / 0.9547 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.6903, allocations: 5.375 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.6903, allocations: 0 / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6903, allocations: 0 / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6903, allocations: 1.438 kB / 0.9547 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.6904, allocations: 173.9 kB / 0.9549 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6904, allocations: 1.5 kB / 0.9549 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.6904, allocations: 6.312 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.6904, allocations: 0 / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.6905, allocations: 5.297 kB / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6905, allocations: 1.406 kB / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6905, allocations: 0 / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.6907, allocations: 250.6 kB / 0.9551 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.6907, allocations: 79.58 kB / 0.9552 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.6907, allocations: 9.25 kB / 0.9552 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.6908, allocations: 15.98 kB / 0.9552 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.6909, allocations: 2.656 kB / 0.9552 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.6909, allocations: 5.297 kB / 0.9552 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.691, allocations: 102.9 kB / 0.9553 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.691, allocations: 1.25 kB / 0.9553 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003228/0.6913, allocations: 60.83 kB / 0.9554 GB, free: 3.855 MB / 0.7169 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.0002554/0.6916, allocations: 155.1 kB / 0.9555 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002682/0.6919, allocations: 237.5 kB / 0.9558 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6919, allocations: 1.156 kB / 0.9558 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.692, allocations: 98.84 kB / 0.9559 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.6922, allocations: 7.625 kB / 0.9559 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.6925, allocations: 195.8 kB / 0.9561 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.875e-05/0.6926, allocations: 0.6895 MB / 0.9567 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.088e-05/0.6926, allocations: 0 / 0.9567 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.092e-05/0.6926, allocations: 9.656 kB / 0.9567 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.6926, allocations: 0 / 0.9567 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of Templates: time 0.004225/0.6969, allocations: 1.691 MB / 0.9584 GB, free: 1.75 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches