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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001248/0.001248, allocations: 193 kB / 16.13 MB, free: 6.648 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.498/2.498, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.89 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.5668, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002435/0.5693, allocations: 1.512 MB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.5705, allocations: 0.8152 MB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.5705, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.131e-05/0.5706, allocations: 3.984 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.963e-05/0.5706, allocations: 3.938 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.5711, allocations: 131.8 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.291e-05/0.5712, allocations: 35.92 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.624e-05/0.5713, allocations: 8 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.5713, allocations: 19.92 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.5714, allocations: 11.98 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.5714, allocations: 7.938 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.5717, allocations: 187.7 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.5717, allocations: 7.984 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.5718, allocations: 16 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.572, allocations: 191.5 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.572, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5721, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.5721, allocations: 4 kB / 1.019 GB, free: 15.79 MB / 0.7794 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.0004431/0.5725, allocations: 434.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.5725, allocations: 8.031 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.5726, allocations: 8.844 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.5727, allocations: 168.2 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.5727, allocations: 4.375 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.5727, allocations: 384 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.5729, allocations: 93.84 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.5729, allocations: 7.984 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.5729, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.573, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.5731, allocations: 43.97 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.5734, allocations: 276.9 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.5736, allocations: 58.48 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.5736, allocations: 52.91 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.5737, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.5737, allocations: 30.56 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.5737, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003574/0.5741, allocations: 183.3 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.5741, allocations: 89.03 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.983e-05/0.5742, allocations: 129.8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.5742, allocations: 29.64 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.5743, allocations: 88.12 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.5743, allocations: 7.906 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.5744, allocations: 21.72 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.5745, allocations: 318.8 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.5746, allocations: 51.97 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.559e-05/0.5747, allocations: 55.97 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.5749, allocations: 205.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5749, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002706/0.5752, allocations: 216.9 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.5752, allocations: 59.41 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.5752, allocations: 4 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.5753, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.5753, allocations: 7.984 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.5753, allocations: 8 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.5754, allocations: 11.94 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.5754, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 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.0001007/0.5755, allocations: 156 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.5755, allocations: 7.938 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.5756, allocations: 7.906 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5756, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.5756, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5756, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.5757, allocations: 177.5 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5757, allocations: 4 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.5758, allocations: 7.984 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5758, allocations: 0 / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.5758, allocations: 0 / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5758, allocations: 0 / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5758, allocations: 4 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.5761, allocations: 245.1 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.5761, allocations: 81.02 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.5761, allocations: 8.031 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.5762, allocations: 7.984 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.5763, allocations: 8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.5763, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.5764, allocations: 99.25 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5764, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003/0.5767, allocations: 56 kB / 1.023 GB, free: 11.92 MB / 0.7794 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.0002679/0.577, allocations: 159.4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.5773, allocations: 238.7 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5773, allocations: 0 / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.5774, allocations: 107.3 kB / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.5777, allocations: 8.031 kB / 1.023 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.578, allocations: 185.5 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.5782, allocations: 0.6887 MB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.332e-05/0.5783, allocations: 0 / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.5783, allocations: 7.438 kB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5783, allocations: 0 / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of Templates: time 0.003838/0.5821, allocations: 1.651 MB / 1.026 GB, free: 8.828 MB / 0.7794 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