Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 82.64 kB / 20.68 MB, free: 3.82 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 181 kB / 24.08 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9493/0.9493, allocations: 177.2 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.756/1.756, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.677e-05, allocations: 3.094 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00268/0.002707, allocations: 1.485 MB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004007, allocations: 0.8038 MB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.004048, allocations: 0 / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.967e-05/0.004118, allocations: 5 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.004171, allocations: 4 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.004846, allocations: 181.6 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.004942, allocations: 35.92 kB / 0.79 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.005019, allocations: 13.17 kB / 0.7901 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.526e-05/0.005075, allocations: 23.92 kB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.005122, allocations: 19.97 kB / 0.7901 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.005135, allocations: 6.156 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.005395, allocations: 207.7 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.005435, allocations: 11.92 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.005458, allocations: 12 kB / 0.7903 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.005681, allocations: 223.4 kB / 0.7905 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.005684, allocations: 2.062 kB / 0.7905 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005685, allocations: 0 / 0.7905 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.005689, allocations: 0 / 0.7905 GB, free: 9.137 MB / 0.7448 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.0004092/0.006098, allocations: 463.6 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.006135, allocations: 8.031 kB / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.006167, allocations: 4.938 kB / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.596e-05/0.006253, allocations: 118.1 kB / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.006265, allocations: 4.375 kB / 0.7911 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.006273, allocations: 384 / 0.7911 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.006404, allocations: 104.6 kB / 0.7912 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.006411, allocations: 4.781 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.006419, allocations: 8.312 kB / 0.7912 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.006425, allocations: 9 kB / 0.7912 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.006457, allocations: 41.69 kB / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.006724, allocations: 249.6 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.652e-05/0.006791, allocations: 76.78 kB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.006826, allocations: 53.45 kB / 0.7916 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.00684, allocations: 1.375 kB / 0.7916 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.006868, allocations: 41.33 kB / 0.7917 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.006869, allocations: 0 / 0.7917 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002125/0.007082, allocations: 188.4 kB / 0.7919 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.007116, allocations: 77.11 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/0.007207, allocations: 185.9 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.007218, allocations: 25.7 kB / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.00727, allocations: 134.9 kB / 0.7923 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.007286, allocations: 12.94 kB / 0.7923 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.00732, allocations: 27.36 kB / 0.7923 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.007442, allocations: 0.4884 MB / 0.7928 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-05/0.007498, allocations: 75.89 kB / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.361e-05/0.007542, allocations: 89.25 kB / 0.7929 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.166e-05/0.007624, allocations: 144.8 kB / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.007625, allocations: 0 / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001303/0.007756, allocations: 204.5 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.007794, allocations: 63.39 kB / 0.7933 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.0078, allocations: 6.5 kB / 0.7933 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.007812, allocations: 0 / 0.7933 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.539e-05/0.007857, allocations: 0 / 0.7933 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.007859, allocations: 4 kB / 0.7933 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.007889, allocations: 15.88 kB / 0.7933 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.007896, allocations: 0 / 0.7933 GB, free: 5.93 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.882e-05/0.007975, allocations: 190.9 kB / 0.7935 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.007994, allocations: 8 kB / 0.7935 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.008017, allocations: 8.469 kB / 0.7935 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.008019, allocations: 3.938 kB / 0.7936 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.00802, allocations: 1.656 kB / 0.7936 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.008023, allocations: 0 / 0.7936 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.007e-05/0.008113, allocations: 113.2 kB / 0.7937 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.008114, allocations: 0 / 0.7937 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/0.008129, allocations: 4.844 kB / 0.7937 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.00813, allocations: 0 / 0.7937 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.008136, allocations: 0.8438 kB / 0.7937 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.008137, allocations: 4 kB / 0.7937 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.008138, allocations: 3.938 kB / 0.7937 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.008296, allocations: 288.5 kB / 0.7939 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.008302, allocations: 8.188 kB / 0.794 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-06/0.008311, allocations: 0 / 0.794 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.14e-05/0.008343, allocations: 8.781 kB / 0.794 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.008389, allocations: 15.91 kB / 0.794 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-06/0.008394, allocations: 4.969 kB / 0.794 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.336e-05/0.008438, allocations: 143.5 kB / 0.7941 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008438, allocations: 0 / 0.7941 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002213/0.008659, allocations: 53.41 kB / 0.7942 GB, free: 5.02 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002108/0.00887, allocations: 163.1 kB / 0.7943 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.009046, allocations: 264.8 kB / 0.7946 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009048, allocations: 0 / 0.7946 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.00911, allocations: 116.8 kB / 0.7947 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.009259, allocations: 7.062 kB / 0.7947 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.009538, allocations: 199.7 kB / 0.7949 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.009573, allocations: 59.34 kB / 0.7949 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.877e-05/0.009591, allocations: 0 / 0.7949 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.009651, allocations: 78.2 kB / 0.795 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of SimCode: time 1.011e-06/0.009652, allocations: 3.938 kB / 0.795 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.003534/0.01319, allocations: 2.014 MB / 0.797 GB, free: 2.055 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.749346021097153]