Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.304/1.304, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 179.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008535/0.0008535, allocations: 102.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 9.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1856, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.3415, allocations: 133.2 MB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3418, allocations: 95.92 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009259/0.351, allocations: 3.224 MB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3511, allocations: 4 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3511, allocations: 4 kB / 1.033 GB, free: 7.188 MB / 0.6823 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.0003948/0.3515, allocations: 438.4 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3515, allocations: 8.031 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.3516, allocations: 3.984 kB / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3517, allocations: 178.8 kB / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3517, allocations: 7.938 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.3517, allocations: 3.938 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3519, allocations: 85.66 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.3519, allocations: 0 / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3519, allocations: 0 / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3519, allocations: 0 / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.3521, allocations: 47.97 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.3524, allocations: 280.9 kB / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3526, allocations: 66.48 kB / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.3526, allocations: 0 / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.3526, allocations: 32.59 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3526, allocations: 0 / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0004018/0.353, allocations: 280.5 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3531, allocations: 81.11 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.3532, allocations: 112.9 kB / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3532, allocations: 29.7 kB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.3532, allocations: 88.12 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.3533, allocations: 7.906 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.3533, allocations: 0 / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.3534, allocations: 318.8 kB / 1.035 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.964e-05/0.3535, allocations: 59.98 kB / 1.035 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/0.3536, allocations: 55.97 kB / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.3537, allocations: 119.4 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3537, allocations: 0 / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002702/0.354, allocations: 220.9 kB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.354, allocations: 65.59 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3541, allocations: 0 / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3541, allocations: 0 / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.3541, allocations: 7.984 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3541, allocations: 3.984 kB / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.3542, allocations: 15.88 kB / 1.036 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.3542, allocations: 4 kB / 1.036 GB, free: 4.332 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.836e-05/0.3543, allocations: 151.4 kB / 1.036 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3544, allocations: 11.91 kB / 1.036 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.3544, allocations: 11.91 kB / 1.036 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3544, allocations: 3.938 kB / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3544, allocations: 0 / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3544, allocations: 0 / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.3546, allocations: 177.6 kB / 1.036 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3546, allocations: 0 / 1.036 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.3546, allocations: 7.984 kB / 1.036 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3546, allocations: 0 / 1.036 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3547, allocations: 4 kB / 1.036 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3547, allocations: 4 kB / 1.036 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3547, allocations: 0 / 1.036 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.3549, allocations: 245.2 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.355, allocations: 85.02 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.355, allocations: 0 / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.3551, allocations: 20.02 kB / 1.037 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.3552, allocations: 3.938 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.3552, allocations: 4 kB / 1.037 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.618e-05/0.3552, allocations: 91.27 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3552, allocations: 4 kB / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002948/0.3555, allocations: 71.92 kB / 1.037 GB, free: 3.344 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002611/0.3558, allocations: 163.1 kB / 1.037 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.3561, allocations: 242.7 kB / 1.037 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3561, allocations: 0 / 1.037 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.3562, allocations: 103.4 kB / 1.037 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.3564, allocations: 7 kB / 1.037 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.3567, allocations: 188.7 kB / 1.037 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3569, allocations: 0.6887 MB / 1.038 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.385e-05/0.357, allocations: 0 / 1.038 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.365e-05/0.357, allocations: 7.438 kB / 1.038 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.357, allocations: 0 / 1.038 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of Templates: time 0.003573/0.3606, allocations: 1.572 MB / 1.04 GB, free: 332 kB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches