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.001323/0.001323, allocations: 96.42 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001462/0.001462, allocations: 214.9 kB / 22.99 MB, free: 4.945 MB / 14.72 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.187/3.187, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 74.97 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3257, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002745/0.3285, allocations: 1.446 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3299, allocations: 0.787 MB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.3299, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.368e-05/0.33, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.465e-05/0.33, allocations: 7.922 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.3307, allocations: 183.5 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.3308, allocations: 51.91 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.863e-05/0.3309, allocations: 3.984 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.795e-05/0.3309, allocations: 15.94 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.3309, allocations: 19.97 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.331, allocations: 4 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.3313, allocations: 219.7 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.3314, allocations: 11.94 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.3314, allocations: 15.92 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.3317, allocations: 203.4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3317, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3317, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3317, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 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.0005215/0.3323, allocations: 353.4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3323, allocations: 12.03 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.3323, allocations: 4.891 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.3325, allocations: 122.4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3325, allocations: 4.375 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3325, allocations: 4.359 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3327, allocations: 103.7 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3327, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3327, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3327, allocations: 3.984 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.3329, allocations: 77.61 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.3332, allocations: 216.6 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.3334, allocations: 88.19 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3335, allocations: 74.61 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.3335, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.3335, allocations: 34.56 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3335, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004792/0.334, allocations: 250.6 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.3341, allocations: 85.05 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3342, allocations: 121.8 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3342, allocations: 29.7 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.3343, allocations: 92.11 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.3343, allocations: 7.953 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.3343, allocations: 21.72 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3345, allocations: 314.8 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.3346, allocations: 123.4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3348, allocations: 119.4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.335, allocations: 205.8 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.335, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003539/0.3354, allocations: 280.3 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.3354, allocations: 63.39 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.3354, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3354, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.3355, allocations: 11.98 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3355, allocations: 0 / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.3356, allocations: 7.938 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.3356, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 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.0001215/0.3357, allocations: 152 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.3357, allocations: 7.953 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.3357, allocations: 8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3357, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3358, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3358, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.3359, allocations: 121.3 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3359, allocations: 3.938 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.3359, allocations: 11.88 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3359, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.336, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.336, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.336, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.3363, allocations: 283 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.3363, allocations: 11.89 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.3363, allocations: 4.062 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.3364, allocations: 16.02 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.3365, allocations: 4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.3365, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.861e-05/0.3366, allocations: 95.7 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3366, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003137/0.3369, allocations: 67.86 kB / 1.333 GB, free: 10.07 MB / 1.029 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.0002702/0.3371, allocations: 139.2 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.3376, allocations: 331.8 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3376, allocations: 4 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.3377, allocations: 125.1 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.338, allocations: 11.94 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.3384, allocations: 207.2 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.37e-05/0.3384, allocations: 75.23 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.735e-05/0.3385, allocations: 0 / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.3385, allocations: 7.438 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3385, allocations: 64 / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of Templates: time 0.004645/0.3431, allocations: 1.8 MB / 1.336 GB, free: 7.301 MB / 1.029 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.934611335003865]