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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.367/2.367, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 184 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 223.1 MB / 0.7992 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 106.5 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 12.34 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2198/0.518, allocations: 151.5 MB / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.5184, allocations: 91.94 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01018/0.5286, allocations: 3.261 MB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5286, allocations: 4 kB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.5286, allocations: 0 / 1.38 GB, free: 10.34 MB / 0.8855 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.0005013/0.5292, allocations: 438.5 kB / 1.381 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5292, allocations: 8.562 kB / 1.381 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.5293, allocations: 7.906 kB / 1.381 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.5294, allocations: 171.2 kB / 1.381 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5294, allocations: 0 / 1.381 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.5294, allocations: 4 kB / 1.381 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.5297, allocations: 89.58 kB / 1.381 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5297, allocations: 0 / 1.381 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.5297, allocations: 0 / 1.381 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5297, allocations: 7.938 kB / 1.381 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.5299, allocations: 47.97 kB / 1.381 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.5303, allocations: 284.8 kB / 1.382 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.5304, allocations: 58.73 kB / 1.382 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.5305, allocations: 0 / 1.382 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.5305, allocations: 38.53 kB / 1.382 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5305, allocations: 0 / 1.382 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.000452/0.531, allocations: 268.5 kB / 1.382 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.531, allocations: 81.11 kB / 1.382 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.5311, allocations: 116.9 kB / 1.382 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.5312, allocations: 25.7 kB / 1.382 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.5312, allocations: 84.12 kB / 1.382 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.5313, allocations: 15.81 kB / 1.382 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.5313, allocations: 0 / 1.382 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5314, allocations: 326.8 kB / 1.382 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.5315, allocations: 59.95 kB / 1.383 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.674e-05/0.5316, allocations: 55.97 kB / 1.383 GB, free: 7.949 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.5318, allocations: 115.3 kB / 1.383 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5318, allocations: 3.984 kB / 1.383 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003026/0.5321, allocations: 221.1 kB / 1.383 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.5322, allocations: 63.34 kB / 1.383 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5322, allocations: 0 / 1.383 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5322, allocations: 0 / 1.383 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.5323, allocations: 7.984 kB / 1.383 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.5323, allocations: 0 / 1.383 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.5323, allocations: 11.91 kB / 1.383 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.5323, allocations: 4 kB / 1.383 GB, free: 7.488 MB / 0.8855 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 0.0001223/0.5325, allocations: 155.5 kB / 1.383 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.5325, allocations: 7.938 kB / 1.383 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.5325, allocations: 7.906 kB / 1.383 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.5325, allocations: 0 / 1.383 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5326, allocations: 0 / 1.383 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.5326, allocations: 3.984 kB / 1.383 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.5327, allocations: 169.6 kB / 1.383 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5328, allocations: 0 / 1.383 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.5328, allocations: 11.92 kB / 1.383 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5328, allocations: 0 / 1.383 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.5328, allocations: 8 kB / 1.383 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5328, allocations: 0 / 1.383 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5328, allocations: 0 / 1.383 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.5331, allocations: 253.1 kB / 1.384 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.5332, allocations: 77.11 kB / 1.384 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.5332, allocations: 4 kB / 1.384 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.5333, allocations: 12.25 kB / 1.384 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.5334, allocations: 8 kB / 1.384 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.5334, allocations: 0 / 1.384 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.589e-05/0.5334, allocations: 99.25 kB / 1.384 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5335, allocations: 0 / 1.384 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003622/0.5338, allocations: 67.94 kB / 1.384 GB, free: 6.516 MB / 0.8855 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.0002941/0.5341, allocations: 167.9 kB / 1.384 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.5345, allocations: 246.7 kB / 1.384 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5345, allocations: 3.938 kB / 1.384 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.5346, allocations: 103.4 kB / 1.384 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.5348, allocations: 8.719 kB / 1.384 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.5352, allocations: 180.7 kB / 1.385 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.5355, allocations: 0.6887 MB / 1.385 GB, free: 5.031 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.082e-05/0.5355, allocations: 3.984 kB / 1.385 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.5355, allocations: 7.438 kB / 1.385 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.5355, allocations: 0 / 1.385 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of Templates: time 0.004051/0.5396, allocations: 1.571 MB / 1.387 GB, free: 3.484 MB / 0.8855 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","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches