Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00105/0.00105, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002531, allocations: 449.8 kB / 10.44 MB, free: 252 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.001046/0.001046, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002386, allocations: 479.5 kB / 11.83 MB, free: 2.344 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 0.8584/0.8584, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07441/0.9328, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.694/1.694, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3777/2.071, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.877e-06/1.014e-05, allocations: 5.812 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001559/0.001569, allocations: 1.547 MB / 0.7312 GB, free: 2.867 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008052/0.002375, allocations: 0.8248 MB / 0.732 GB, free: 2.047 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.0024, allocations: 4 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.318e-05/0.002443, allocations: 0 / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.771e-05/0.00247, allocations: 5.359 kB / 0.732 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.002795, allocations: 153.4 kB / 0.7321 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.862e-05/0.002883, allocations: 43.69 kB / 0.7322 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.002935, allocations: 4.625 kB / 0.7322 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.28e-05/0.002988, allocations: 26.17 kB / 0.7322 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.003029, allocations: 17.64 kB / 0.7322 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.003041, allocations: 4.875 kB / 0.7322 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.003302, allocations: 237.2 kB / 0.7325 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.003337, allocations: 10.72 kB / 0.7325 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.00336, allocations: 9.641 kB / 0.7325 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.003541, allocations: 180.2 kB / 0.7327 GB, free: 1.387 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.00355, allocations: 0 / 0.7327 GB, free: 1.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003551, allocations: 0.5938 kB / 0.7327 GB, free: 1.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.003559, allocations: 0 / 0.7327 GB, free: 1.387 MB / 0.698 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.0003493/0.003909, allocations: 348.9 kB / 0.733 GB, free: 1.012 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.489e-05/0.003934, allocations: 12.66 kB / 0.733 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.003962, allocations: 4.938 kB / 0.733 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.886e-05/0.00403, allocations: 118.7 kB / 0.7331 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.004038, allocations: 4.359 kB / 0.7331 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.004048, allocations: 4.375 kB / 0.7331 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.004153, allocations: 97.64 kB / 0.7332 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-06/0.004158, allocations: 192 / 0.7332 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.004164, allocations: 2.094 kB / 0.7332 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004169, allocations: 3.938 kB / 0.7332 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.126e-05/0.0042, allocations: 49.69 kB / 0.7333 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.004373, allocations: 164.2 kB / 0.7334 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.871e-05/0.004421, allocations: 64.27 kB / 0.7335 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.004453, allocations: 55.44 kB / 0.7335 GB, free: 376 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.004461, allocations: 0 / 0.7335 GB, free: 376 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.004477, allocations: 35.06 kB / 0.7336 GB, free: 332 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.004477, allocations: 1.688 kB / 0.7336 GB, free: 332 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001467/0.004624, allocations: 178.6 kB / 0.7337 GB, free: 128 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.004647, allocations: 55.41 kB / 0.7338 GB, free: 60 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.481e-05/0.004712, allocations: 126.6 kB / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.004721, allocations: 26.58 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.004747, allocations: 84.14 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.004757, allocations: 3.953 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.004786, allocations: 30.75 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.004852, allocations: 310.8 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.004914, allocations: 83.97 kB / 0.7344 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.004952, allocations: 87.45 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.102e-05/0.005023, allocations: 140.7 kB / 0.7347 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.005024, allocations: 4 kB / 0.7347 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001379/0.005162, allocations: 204.4 kB / 0.7349 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.005196, allocations: 64.58 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.0052, allocations: 7.922 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.005209, allocations: 3.938 kB / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.901e-05/0.005248, allocations: 4.656 kB / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-06/0.00525, allocations: 0 / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.00527, allocations: 13.25 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.005277, allocations: 0 / 0.7349 GB, free: 14.77 MB / 0.7136 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 5.632e-05/0.005333, allocations: 147 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.005346, allocations: 9.031 kB / 0.7351 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.718e-05/0.005363, allocations: 7.984 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005366, allocations: 3.938 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.005367, allocations: 0.5312 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.00537, allocations: 3.984 kB / 0.7351 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.9e-05/0.005439, allocations: 71.45 kB / 0.7352 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.00544, allocations: 0 / 0.7352 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.005451, allocations: 7.984 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.005455, allocations: 3.938 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-07/0.005455, allocations: 1.219 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.00546, allocations: 4 kB / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.005461, allocations: 3.938 kB / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005462, allocations: 1.125 kB / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.005566, allocations: 226.9 kB / 0.7354 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.005576, allocations: 4 kB / 0.7354 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.147e-05/0.005608, allocations: 12.92 kB / 0.7354 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.005641, allocations: 7.938 kB / 0.7354 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005643, allocations: 0.5 kB / 0.7354 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.453e-05/0.005658, allocations: 16.84 kB / 0.7355 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.005658, allocations: 0.75 kB / 0.7355 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001579/0.005816, allocations: 63.88 kB / 0.7355 GB, free: 14.11 MB / 0.7136 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.0002191/0.006035, allocations: 154.6 kB / 0.7357 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.006195, allocations: 268.6 kB / 0.7359 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.006199, allocations: 5.375 kB / 0.7359 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.413e-05/0.006254, allocations: 112.8 kB / 0.736 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.821e-05/0.006352, allocations: 9.25 kB / 0.736 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.006663, allocations: 181 kB / 0.7362 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.006693, allocations: 67.34 kB / 0.7363 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.194e-05/0.006705, allocations: 1.219 kB / 0.7363 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.006751, allocations: 55.38 kB / 0.7363 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.006752, allocations: 0 / 0.7363 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of Templates: time 0.003123/0.009875, allocations: 2.038 MB / 0.7383 GB, free: 11.23 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.212060262449086]