Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 200.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6694/0.6715, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00262/0.6741, allocations: 1.45 MB / 1.275 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.6754, allocations: 0.7964 MB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.6754, allocations: 0 / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.605e-05/0.6755, allocations: 3.938 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.6755, allocations: 4 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.6761, allocations: 175.5 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.6762, allocations: 51.91 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.737e-05/0.6763, allocations: 10.66 kB / 1.277 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.6763, allocations: 15.94 kB / 1.277 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.6764, allocations: 15.97 kB / 1.277 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.6764, allocations: 4 kB / 1.277 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.6768, allocations: 203.7 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.6768, allocations: 15.94 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.6769, allocations: 19.86 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.6771, allocations: 195.5 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6771, allocations: 0 / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6771, allocations: 0 / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6772, allocations: 0 / 1.277 GB, free: 1.582 MB / 0.9669 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.6777, allocations: 426.5 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.6777, allocations: 8.031 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.6777, allocations: 12.89 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.6779, allocations: 180.2 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.6779, allocations: 384 / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.6779, allocations: 8.375 kB / 1.278 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.6781, allocations: 77.92 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.6781, allocations: 0 / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.6781, allocations: 0 / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6781, allocations: 4 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.6783, allocations: 47.95 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.6787, allocations: 272.9 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.6788, allocations: 58.56 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.311e-05/0.6789, allocations: 44.91 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.6789, allocations: 3.938 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.6789, allocations: 34.56 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.6789, allocations: 0 / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004049/0.6793, allocations: 187.4 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.6794, allocations: 81.14 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.6795, allocations: 125.8 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.6795, allocations: 25.7 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.6796, allocations: 84.14 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.6796, allocations: 11.89 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.6797, allocations: 25.7 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6798, allocations: 314.8 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.6799, allocations: 63.95 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.68, allocations: 63.89 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.6803, allocations: 201.9 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6803, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003215/0.6806, allocations: 217 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/0.6807, allocations: 69.05 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6807, allocations: 4 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.6807, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.6807, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6807, allocations: 8 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.6808, allocations: 11.92 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.6808, allocations: 4 kB / 1.28 GB, free: 14.67 MB / 0.9825 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.0001168/0.6809, allocations: 151.4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.681, allocations: 11.95 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.681, allocations: 3.906 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.681, allocations: 0 / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.681, allocations: 4 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.681, allocations: 4 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.6812, allocations: 173.6 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.6812, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.6812, allocations: 4 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6812, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.6812, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6812, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6812, allocations: 4 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.6815, allocations: 257.1 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.6816, allocations: 77.11 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.6816, allocations: 4 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.6817, allocations: 8 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.6818, allocations: 7.922 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.6818, allocations: 4 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.626e-05/0.6818, allocations: 99.27 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.6818, allocations: 0 / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003157/0.6822, allocations: 59.86 kB / 1.28 GB, free: 13.71 MB / 0.9825 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.0002579/0.6824, allocations: 151.7 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.6828, allocations: 234.7 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6828, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.6829, allocations: 99.38 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.6831, allocations: 7.875 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.6835, allocations: 197.3 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.6838, allocations: 0.6885 MB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.455e-05/0.6839, allocations: 0 / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.6839, allocations: 11.44 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.6839, allocations: 0 / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.004694/0.6886, allocations: 1.783 MB / 1.283 GB, free: 10.49 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.112201834097505]