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.001637/0.001637, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002734/0.004371, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001803/0.001803, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002074/0.003877, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.074/1.074, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1119/1.186, allocations: 53.65 MB / 243.2 MB, free: 15.61 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.423/2.423, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2834/2.706, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.624e-06/1.624e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.969e-05, allocations: 8.844 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002006/0.002036, allocations: 1.549 MB / 0.8198 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003049, allocations: 0.8139 MB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.003086, allocations: 0 / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.298e-05/0.003159, allocations: 7.938 kB / 0.8206 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.3e-05/0.003202, allocations: 4 kB / 0.8206 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.003665, allocations: 159.5 kB / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.003789, allocations: 39.92 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.226e-05/0.003871, allocations: 7.984 kB / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.003941, allocations: 27.91 kB / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.003999, allocations: 15.98 kB / 0.8209 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.004014, allocations: 4 kB / 0.8209 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.004329, allocations: 235.7 kB / 0.8211 GB, free: 8 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.004372, allocations: 7.938 kB / 0.8211 GB, free: 0 / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.004422, allocations: 8.047 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.004653, allocations: 191.4 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.468e-05/0.004667, allocations: 0 / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.021e-06/0.004668, allocations: 0 / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.004683, allocations: 0 / 0.8213 GB, free: 15.8 MB / 0.8073 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.0004404/0.005123, allocations: 339.7 kB / 0.8216 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.00516, allocations: 8.625 kB / 0.8216 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.005194, allocations: 8.938 kB / 0.8216 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.238e-05/0.005286, allocations: 129.6 kB / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.005297, allocations: 4.312 kB / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.005306, allocations: 4.375 kB / 0.8218 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.005456, allocations: 100.1 kB / 0.8219 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.005462, allocations: 4 kB / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.00547, allocations: 0 / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.005475, allocations: 0 / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.005514, allocations: 49.69 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.005753, allocations: 160.3 kB / 0.8221 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.045e-05/0.005824, allocations: 68.25 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.005862, allocations: 58.62 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.005876, allocations: 3.938 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.005898, allocations: 30.56 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.005899, allocations: 0 / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001744/0.006074, allocations: 178.8 kB / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.006101, allocations: 51.41 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.006177, allocations: 122.6 kB / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.006187, allocations: 29.64 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.006221, allocations: 84.12 kB / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.006234, allocations: 7.953 kB / 0.8227 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.00627, allocations: 29.69 kB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.62e-05/0.006356, allocations: 314.9 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.006423, allocations: 86.2 kB / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.00647, allocations: 79.39 kB / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.222e-05/0.006562, allocations: 148.8 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.006565, allocations: 0 / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001464/0.006711, allocations: 200.4 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.006763, allocations: 66.05 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.006769, allocations: 0 / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.006779, allocations: 4 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.006844, allocations: 3.938 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006847, allocations: 0 / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.00687, allocations: 19.86 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.00688, allocations: 4 kB / 0.8236 GB, free: 13.16 MB / 0.8073 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 0.0001136/0.006993, allocations: 142.4 kB / 0.8237 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.00701, allocations: 8.172 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.007032, allocations: 11.98 kB / 0.8238 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.007035, allocations: 3.984 kB / 0.8238 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.007037, allocations: 0 / 0.8238 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.00704, allocations: 0 / 0.8238 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.189e-05/0.007122, allocations: 73.84 kB / 0.8238 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007123, allocations: 4 kB / 0.8238 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.007146, allocations: 4 kB / 0.8238 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-06/0.007151, allocations: 0 / 0.8238 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007153, allocations: 3.938 kB / 0.8238 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.00716, allocations: 8 kB / 0.8238 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.00716, allocations: 0 / 0.8238 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.007161, allocations: 0 / 0.8238 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.007298, allocations: 234.8 kB / 0.8241 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.007312, allocations: 7.922 kB / 0.8241 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-05/0.007348, allocations: 8 kB / 0.8241 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.007391, allocations: 0 / 0.8241 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.007396, allocations: 8.031 kB / 0.8241 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.681e-05/0.007413, allocations: 16.84 kB / 0.8241 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007413, allocations: 0 / 0.8241 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00019/0.007603, allocations: 63.86 kB / 0.8242 GB, free: 12.51 MB / 0.8073 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.0001835/0.007786, allocations: 140.3 kB / 0.8243 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.008051, allocations: 264.7 kB / 0.8246 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.008056, allocations: 0 / 0.8246 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.094e-05/0.008117, allocations: 120.7 kB / 0.8247 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.008239, allocations: 16 kB / 0.8247 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.008642, allocations: 181 kB / 0.8249 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.579e-05/0.008678, allocations: 67.2 kB / 0.8249 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.607e-05/0.008694, allocations: 4 kB / 0.8249 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.008744, allocations: 55.38 kB / 0.825 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of SimCode: time 9.02e-07/0.008745, allocations: 0 / 0.825 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of Templates: time 0.0038/0.01254, allocations: 1.998 MB / 0.8269 GB, free: 9.59 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.ref.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.446313304826617]