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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001314/0.001314, allocations: 177.1 kB / 498.1 MB, free: 5.766 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.478/1.478, allocations: 223.2 MB / 0.7948 GB, free: 19.01 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.0009611/0.000961, allocations: 100.2 kB / 0.9346 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003874, allocations: 9.656 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 142.3 MB / 1.223 GB, free: 89.62 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.4361, allocations: 150.7 MB / 1.37 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.4365, allocations: 95.92 kB / 1.37 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01003/0.4466, allocations: 3.265 MB / 1.373 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4466, allocations: 0 / 1.373 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.4466, allocations: 0 / 1.373 GB, free: 15.32 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.0004983/0.4471, allocations: 438.5 kB / 1.374 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4472, allocations: 8.031 kB / 1.374 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.4472, allocations: 7.906 kB / 1.374 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.4474, allocations: 171 kB / 1.374 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4474, allocations: 0 / 1.374 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.4474, allocations: 7.938 kB / 1.374 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.4476, allocations: 77.66 kB / 1.374 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4476, allocations: 0 / 1.374 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4477, allocations: 4 kB / 1.374 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4477, allocations: 0 / 1.374 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.4478, allocations: 51.97 kB / 1.374 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.4482, allocations: 284.8 kB / 1.374 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.4484, allocations: 62.67 kB / 1.374 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.4484, allocations: 4.031 kB / 1.374 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4484, allocations: 34.56 kB / 1.374 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.4484, allocations: 0 / 1.374 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0004338/0.4489, allocations: 268.5 kB / 1.375 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.4489, allocations: 81.11 kB / 1.375 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.449, allocations: 116.9 kB / 1.375 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.4491, allocations: 29.7 kB / 1.375 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.4491, allocations: 96.02 kB / 1.375 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.4492, allocations: 7.906 kB / 1.375 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.4492, allocations: 0 / 1.375 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.4493, allocations: 326.8 kB / 1.375 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/0.4494, allocations: 55.97 kB / 1.375 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.447e-05/0.4495, allocations: 59.95 kB / 1.375 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.4496, allocations: 127.4 kB / 1.376 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4496, allocations: 0 / 1.376 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00029/0.4499, allocations: 209 kB / 1.376 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.45, allocations: 63.39 kB / 1.376 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.45, allocations: 4 kB / 1.376 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.45, allocations: 0 / 1.376 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.4501, allocations: 4 kB / 1.376 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4501, allocations: 0 / 1.376 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.4502, allocations: 15.89 kB / 1.376 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.4502, allocations: 4 kB / 1.376 GB, free: 12.46 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.0001094/0.4503, allocations: 152.8 kB / 1.376 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.4504, allocations: 4 kB / 1.376 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.4504, allocations: 11.83 kB / 1.376 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4504, allocations: 0 / 1.376 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4504, allocations: 4 kB / 1.376 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4504, allocations: 0 / 1.376 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.4506, allocations: 177.6 kB / 1.376 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4506, allocations: 0 / 1.376 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.4506, allocations: 7.938 kB / 1.376 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4506, allocations: 0 / 1.376 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4507, allocations: 8 kB / 1.376 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4507, allocations: 0 / 1.376 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4507, allocations: 0 / 1.376 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.451, allocations: 253.1 kB / 1.376 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.451, allocations: 81.09 kB / 1.377 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.451, allocations: 4 kB / 1.377 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.4511, allocations: 4 kB / 1.377 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.4512, allocations: 15.92 kB / 1.377 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.4512, allocations: 0 / 1.377 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.4512, allocations: 99.64 kB / 1.377 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4513, allocations: 0 / 1.377 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003388/0.4516, allocations: 79.88 kB / 1.377 GB, free: 11.46 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.0003008/0.4519, allocations: 162.9 kB / 1.377 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.4522, allocations: 238.7 kB / 1.377 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4522, allocations: 0 / 1.377 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.4524, allocations: 111.4 kB / 1.377 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.4525, allocations: 5.266 kB / 1.377 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.4529, allocations: 192.5 kB / 1.377 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.4531, allocations: 0.6848 MB / 1.378 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.439e-05/0.4531, allocations: 0 / 1.378 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.4532, allocations: 11.44 kB / 1.378 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.4532, allocations: 4.062 kB / 1.378 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of Templates: time 0.003833/0.457, allocations: 1.566 MB / 1.38 GB, free: 8.414 MB / 0.8855 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","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches