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.478/1.478, allocations: 249.3 MB / 261.9 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 168.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0009264/0.0009264, allocations: 86.25 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.792e-05/3.795e-05, allocations: 7.984 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.278, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8063/1.084, allocations: 133.2 MB / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/1.085, allocations: 98.05 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009578/1.094, allocations: 3.224 MB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.014e-06/1.094, allocations: 0 / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.094, allocations: 0 / 1.025 GB, free: 14.68 MB / 0.6511 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.0004384/1.095, allocations: 420.7 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.095, allocations: 12.03 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/1.095, allocations: 3.906 kB / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/1.095, allocations: 171 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/1.095, allocations: 4 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/1.095, allocations: 0 / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/1.095, allocations: 76.67 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/1.095, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/1.095, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.095, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/1.095, allocations: 41.73 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/1.096, allocations: 285.3 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.972e-05/1.096, allocations: 57.19 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/1.096, allocations: 39.48 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/1.096, allocations: 0 / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/1.096, allocations: 38.31 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/1.096, allocations: 0 / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002693/1.096, allocations: 133.5 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/1.096, allocations: 85.09 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/1.096, allocations: 122.4 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/1.096, allocations: 25.7 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/1.097, allocations: 83.52 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/1.097, allocations: 7.906 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/1.097, allocations: 0 / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.097, allocations: 326.2 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/1.097, allocations: 46.55 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/1.097, allocations: 50.84 kB / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/1.097, allocations: 105.3 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.097, allocations: 4 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000243/1.097, allocations: 212.4 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/1.097, allocations: 59.41 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.097, allocations: 3.984 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/1.097, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/1.097, allocations: 4 kB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.097, allocations: 4 kB / 1.027 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/1.097, allocations: 4 kB / 1.027 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/1.097, allocations: 4.094 kB / 1.027 GB, free: 12.18 MB / 0.6511 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 () * 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 0.0001016/1.098, allocations: 145.9 kB / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/1.098, allocations: 15.83 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/1.098, allocations: 4.031 kB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/1.098, allocations: 64 / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.098, allocations: 8 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/1.098, allocations: 0 / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/1.098, allocations: 172.7 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.098, allocations: 0 / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/1.098, allocations: 4 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/1.098, allocations: 7.984 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/1.098, allocations: 7.375 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.098, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.098, allocations: 3.938 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/1.098, allocations: 236.3 kB / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/1.098, allocations: 77.11 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/1.098, allocations: 4 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/1.098, allocations: 15.95 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/1.098, allocations: 7.188 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/1.098, allocations: 0 / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.09e-05/1.098, allocations: 100.5 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.098, allocations: 0 / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000299/1.099, allocations: 75.91 kB / 1.028 GB, free: 11.25 MB / 0.6511 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) * 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.0003152/1.099, allocations: 158.5 kB / 1.028 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000272/1.099, allocations: 237.2 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.099, allocations: 0 / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-05/1.1, allocations: 93.39 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/1.1, allocations: 7.953 kB / 1.029 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/1.1, allocations: 131.1 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/1.1, allocations: 0.6848 MB / 1.03 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.874e-05/1.1, allocations: 4 kB / 1.03 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/1.1, allocations: 7.438 kB / 1.03 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/1.1, allocations: 4.062 kB / 1.03 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of Templates: time 0.004002/1.104, allocations: 1.595 MB / 1.031 GB, free: 8.344 MB / 0.6511 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