Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001843/0.001843, allocations: 113.8 kB / 17.6 MB, free: 4.703 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.001911/0.001911, allocations: 190 kB / 20.78 MB, free: 1.543 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.497/1.497, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 71.88 kB / 1.059 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3379, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002712/0.3406, allocations: 1.455 MB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.342, allocations: 0.8006 MB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.342, allocations: 0 / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.283e-05/0.3421, allocations: 3.938 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.743e-05/0.3421, allocations: 4 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006159/0.3427, allocations: 175.5 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3428, allocations: 43.98 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.3429, allocations: 7.922 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.343, allocations: 15.98 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.343, allocations: 19.91 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.343, allocations: 4 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.3434, allocations: 211.7 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.3434, allocations: 11.92 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.3435, allocations: 19.92 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.3438, allocations: 195.4 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3438, allocations: 0 / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3438, allocations: 0 / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.3438, allocations: 8 kB / 1.219 GB, free: 12.34 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.0005348/0.3443, allocations: 422.5 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3444, allocations: 12.03 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.3444, allocations: 4.891 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3445, allocations: 176.3 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3446, allocations: 384 / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.3446, allocations: 4.375 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3447, allocations: 73.98 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3448, allocations: 7.938 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3448, allocations: 7.984 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3448, allocations: 7.938 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3449, allocations: 43.97 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.3453, allocations: 272.9 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3454, allocations: 58.5 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.989e-05/0.3455, allocations: 52.91 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3455, allocations: 0 / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3455, allocations: 34.5 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3455, allocations: 4 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003943/0.3459, allocations: 187.2 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.346, allocations: 77.11 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3461, allocations: 129.8 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3461, allocations: 29.73 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.3462, allocations: 88.14 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.3462, allocations: 3.953 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.3462, allocations: 25.7 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3464, allocations: 310.8 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.3465, allocations: 59.95 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.3466, allocations: 59.91 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.3468, allocations: 197.8 kB / 1.221 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3468, allocations: 0 / 1.221 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002951/0.3471, allocations: 217 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/0.3472, allocations: 71.39 kB / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.3472, allocations: 4.062 kB / 1.222 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3472, allocations: 0 / 1.222 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.3472, allocations: 0 / 1.222 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3472, allocations: 4 kB / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.3473, allocations: 11.92 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3473, allocations: 4 kB / 1.222 GB, free: 9.441 MB / 0.9669 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.0001187/0.3474, allocations: 155.4 kB / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.3474, allocations: 7.953 kB / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.3475, allocations: 3.906 kB / 1.222 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3475, allocations: 4 kB / 1.222 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3475, allocations: 0 / 1.222 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3475, allocations: 0 / 1.222 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.3477, allocations: 173.6 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3477, allocations: 3.938 kB / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.3477, allocations: 8 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3477, allocations: 0 / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.3477, allocations: 0 / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3477, allocations: 4 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3477, allocations: 3.984 kB / 1.222 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.348, allocations: 249.1 kB / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.348, allocations: 81.05 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.348, allocations: 8.031 kB / 1.222 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.3481, allocations: 4 kB / 1.222 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.3482, allocations: 11.98 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3482, allocations: 0 / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.912e-05/0.3483, allocations: 99.2 kB / 1.222 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3483, allocations: 0 / 1.222 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003066/0.3486, allocations: 55.92 kB / 1.222 GB, free: 8.473 MB / 0.9669 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.0002746/0.3489, allocations: 155.1 kB / 1.223 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.3492, allocations: 234.7 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3492, allocations: 0 / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3494, allocations: 99.38 kB / 1.223 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.3496, allocations: 13.97 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.35, allocations: 189.3 kB / 1.223 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3503, allocations: 0.6846 MB / 1.224 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.704e-05/0.3503, allocations: 4.062 kB / 1.224 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.3503, allocations: 11.44 kB / 1.224 GB, free: 7 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3503, allocations: 0 / 1.224 GB, free: 7 MB / 0.9669 GB Notification: Performance of Templates: time 0.004724/0.355, allocations: 1.777 MB / 1.225 GB, free: 5.262 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.996277584694326]