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.001841/0.001841, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.00244/0.00244, allocations: 213.2 kB / 23.04 MB, free: 4.844 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.594/1.594, allocations: 230.6 MB / 256.8 MB, free: 7.742 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.41/3.41, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.002045/0.002045, allocations: 66.45 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4437, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003321/0.447, allocations: 1.461 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.4487, allocations: 0.7754 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.4487, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.514e-05/0.4488, allocations: 7.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.4489, allocations: 3.938 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.4497, allocations: 185 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000228/0.4499, allocations: 43.91 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.45, allocations: 8 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.45, allocations: 19.92 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.794e-05/0.4501, allocations: 23.91 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.4501, allocations: 4 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.4505, allocations: 207.7 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.4506, allocations: 7.984 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.4506, allocations: 15.92 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.451, allocations: 199.5 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.451, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.615e-06/0.451, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.451, allocations: 0 / 1.33 GB, free: 13.99 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.0006219/0.4516, allocations: 354.6 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4517, allocations: 12.03 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.4517, allocations: 12.88 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.4518, allocations: 110.5 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4519, allocations: 4.375 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.4519, allocations: 4.375 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.4521, allocations: 119.5 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4521, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4521, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4521, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.4523, allocations: 73.67 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.4528, allocations: 224.5 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.4529, allocations: 96.06 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.453, allocations: 78.61 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.4531, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.4531, allocations: 30.56 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4531, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004909/0.4536, allocations: 238.7 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.4537, allocations: 81.11 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4538, allocations: 133.8 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4538, allocations: 29.64 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.4539, allocations: 88.14 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.4539, allocations: 11.95 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.454, allocations: 17.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002651/0.4542, allocations: 318.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.4545, allocations: 115.4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.4546, allocations: 119.4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.4549, allocations: 197.9 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4549, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003836/0.4553, allocations: 284.3 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.4554, allocations: 63.41 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4554, allocations: 3.984 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4554, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.165e-05/0.4555, allocations: 7.938 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4555, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.4556, allocations: 7.938 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.4556, allocations: 4 kB / 1.333 GB, free: 10.89 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.0001516/0.4557, allocations: 156 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.4558, allocations: 7.953 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.4558, allocations: 7.984 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4558, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4558, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4558, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.456, allocations: 117.3 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.456, allocations: 11.94 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.456, allocations: 3.984 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.456, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.456, allocations: 240 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.456, allocations: 7.938 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.456, allocations: 0 / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.4564, allocations: 278.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.4564, allocations: 11.89 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.4564, allocations: 3.984 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.4565, allocations: 4 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.4566, allocations: 4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.4566, allocations: 3.984 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.531e-05/0.4567, allocations: 99.27 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4567, allocations: 0 / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000325/0.457, allocations: 59.91 kB / 1.334 GB, free: 10.04 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.0003066/0.4573, allocations: 151.1 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.4578, allocations: 319.8 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4578, allocations: 0 / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.458, allocations: 133 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.4582, allocations: 9.5 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.4589, allocations: 244.9 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.734e-05/0.459, allocations: 71.25 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.459, allocations: 7.438 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.459, allocations: 0 / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of Templates: time 0.004009/0.463, allocations: 1.507 MB / 1.336 GB, free: 7.496 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 -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: 12.569042267976329]