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.483/1.483, allocations: 249.5 MB / 257 MB, free: 6.875 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.001226/0.001226, allocations: 179.4 kB / 316.3 MB, free: 3.23 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.797/1.797, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.00131/0.00131, allocations: 90.83 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.732e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2543, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8352/1.09, allocations: 133.4 MB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003911/1.09, allocations: 92.12 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01001/1.1, allocations: 3.211 MB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/1.1, allocations: 0 / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.1, allocations: 0 / 1.019 GB, free: 1.484 MB / 0.6355 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.0004617/1.101, allocations: 428.3 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.101, allocations: 8.031 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/1.101, allocations: 7.906 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/1.101, allocations: 173.1 kB / 1.019 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/1.101, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/1.101, allocations: 4.875 kB / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001114/1.101, allocations: 46.03 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/1.101, allocations: 66.17 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.101, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/1.101, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.101, allocations: 3.938 kB / 1.019 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/1.102, allocations: 254.7 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.992e-05/1.102, allocations: 59.11 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/1.102, allocations: 42.36 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/1.102, allocations: 0 / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/1.102, allocations: 32.25 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/1.102, allocations: 0 / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002633/1.102, allocations: 109.2 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/1.102, allocations: 81.05 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/1.102, allocations: 118.2 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/1.102, allocations: 29.73 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/1.102, allocations: 83.64 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/1.102, allocations: 11.89 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/1.102, allocations: 0.9375 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.103, allocations: 321.7 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/1.103, allocations: 49.03 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/1.103, allocations: 46.23 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/1.103, allocations: 53.95 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.103, allocations: 0 / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000227/1.103, allocations: 149.1 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/1.103, allocations: 64.59 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.103, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.103, allocations: 3.984 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/1.103, allocations: 7.938 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/1.103, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/1.103, allocations: 8 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/1.103, allocations: 64 / 1.021 GB, free: 15.19 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.0001162/1.103, allocations: 154.4 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/1.103, allocations: 11.84 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/1.104, allocations: 8.344 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/1.104, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.104, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.104, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/1.104, allocations: 149.1 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.104, allocations: 3.953 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/1.104, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/1.104, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/1.104, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.104, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.104, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/1.104, allocations: 204.9 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/1.104, allocations: 85.16 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/1.104, allocations: 0 / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/1.104, allocations: 15.45 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/1.104, allocations: 7.984 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/1.104, allocations: 4 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.892e-05/1.104, allocations: 98.02 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.104, allocations: 0 / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000339/1.105, allocations: 67.94 kB / 1.022 GB, free: 14.33 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.0002962/1.105, allocations: 162.4 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002653/1.105, allocations: 224.9 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.105, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/1.105, allocations: 93.02 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/1.106, allocations: 3.438 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/1.106, allocations: 125.7 kB / 1.022 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/1.106, allocations: 0.6846 MB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.968e-05/1.106, allocations: 7.938 kB / 1.023 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/1.106, allocations: 7.438 kB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.106, allocations: 0 / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of Templates: time 0.003865/1.11, allocations: 1.53 MB / 1.024 GB, free: 11.52 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