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/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.0009921/0.0009921, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009151/0.0009151, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 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.9214/0.9214, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.349/2.349, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.22e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002205/0.002227, allocations: 1.498 MB / 0.8912 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003355, allocations: 0.8024 MB / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.003394, allocations: 0 / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.669e-05/0.003471, allocations: 3.984 kB / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.003529, allocations: 7.938 kB / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.004138, allocations: 179.5 kB / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.004249, allocations: 43.92 kB / 0.8923 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.446e-05/0.004334, allocations: 11.97 kB / 0.8923 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.07e-05/0.004394, allocations: 23.92 kB / 0.8923 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.004451, allocations: 15.98 kB / 0.8923 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.004468, allocations: 4 kB / 0.8923 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.004768, allocations: 207.7 kB / 0.8925 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.004813, allocations: 15.92 kB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.004841, allocations: 12 kB / 0.8925 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.005084, allocations: 223.5 kB / 0.8927 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.005087, allocations: 3.984 kB / 0.8927 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005089, allocations: 0 / 0.8927 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.005092, allocations: 3.938 kB / 0.8928 GB, free: 6.664 MB / 0.8542 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.0003855/0.005478, allocations: 455.6 kB / 0.8932 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.005516, allocations: 8.625 kB / 0.8932 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.005548, allocations: 8.891 kB / 0.8932 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.571e-05/0.005634, allocations: 124.5 kB / 0.8933 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.005645, allocations: 4.375 kB / 0.8933 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.005653, allocations: 384 / 0.8933 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.005801, allocations: 100.2 kB / 0.8934 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.005808, allocations: 4 kB / 0.8934 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.005816, allocations: 4 kB / 0.8934 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.005821, allocations: 0 / 0.8934 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.835e-05/0.005859, allocations: 57.66 kB / 0.8935 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.006112, allocations: 252.3 kB / 0.8937 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.809e-05/0.00618, allocations: 72.75 kB / 0.8938 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.006217, allocations: 61.39 kB / 0.8939 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.006233, allocations: 0 / 0.8939 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.006257, allocations: 37.38 kB / 0.8939 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.006258, allocations: 0 / 0.8939 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0002047/0.006463, allocations: 190.7 kB / 0.8941 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.006495, allocations: 77.11 kB / 0.8941 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.006592, allocations: 185.8 kB / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.006603, allocations: 25.7 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.006654, allocations: 138.9 kB / 0.8945 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.006666, allocations: 3.953 kB / 0.8945 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.006702, allocations: 31.36 kB / 0.8945 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.006825, allocations: 0.4884 MB / 0.895 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.006879, allocations: 75.39 kB / 0.8951 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.006922, allocations: 79.39 kB / 0.8951 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.757e-05/0.00701, allocations: 144.8 kB / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007012, allocations: 0 / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001467/0.007158, allocations: 220.3 kB / 0.8955 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.007202, allocations: 67.39 kB / 0.8955 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007208, allocations: 0 / 0.8955 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.007219, allocations: 0 / 0.8955 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.007264, allocations: 4 kB / 0.8956 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.007267, allocations: 0 / 0.8956 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.007289, allocations: 7.938 kB / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.007296, allocations: 0 / 0.8956 GB, free: 3.445 MB / 0.8542 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 8.428e-05/0.00738, allocations: 190.3 kB / 0.8957 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.007402, allocations: 15.89 kB / 0.8958 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.007428, allocations: 8 kB / 0.8958 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.00743, allocations: 0 / 0.8958 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.007432, allocations: 0 / 0.8958 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007435, allocations: 0 / 0.8958 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.007535, allocations: 105.2 kB / 0.8959 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.007537, allocations: 0 / 0.8959 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.007557, allocations: 11.92 kB / 0.8959 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.00756, allocations: 64 / 0.8959 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.00757, allocations: 15.94 kB / 0.8959 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.007571, allocations: 4 kB / 0.8959 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007571, allocations: 0 / 0.8959 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.007749, allocations: 287.3 kB / 0.8962 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.007756, allocations: 3.984 kB / 0.8962 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.007767, allocations: 3.938 kB / 0.8962 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/0.007802, allocations: 4 kB / 0.8962 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.007845, allocations: 11.98 kB / 0.8962 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.007849, allocations: 0 / 0.8962 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.007888, allocations: 127.2 kB / 0.8963 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007888, allocations: 0 / 0.8963 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000221/0.008109, allocations: 59.92 kB / 0.8964 GB, free: 2.531 MB / 0.8542 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.0001952/0.008304, allocations: 167.1 kB / 0.8965 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.00848, allocations: 263.7 kB / 0.8968 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.008482, allocations: 0 / 0.8968 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/0.008542, allocations: 116.8 kB / 0.8969 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.008692, allocations: 4 kB / 0.8969 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.008948, allocations: 199.7 kB / 0.8971 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.05e-05/0.008979, allocations: 55.36 kB / 0.8971 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.695e-05/0.008996, allocations: 8.047 kB / 0.8971 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.009053, allocations: 82.2 kB / 0.8972 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.009054, allocations: 0 / 0.8972 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.003409/0.01246, allocations: 2.012 MB / 0.8992 GB, free: 15.54 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.263570515904576]