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.001643/0.001643, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.00198/0.00198, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.48/1.48, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.642/2.642, allocations: 443.5 MB / 0.7293 GB, free: 14.66 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.001959/0.001959, allocations: 63.91 kB / 1.057 GB, free: 2.004 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.337, allocations: 160.7 MB / 1.214 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002991/0.34, allocations: 1.44 MB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3415, allocations: 0.7886 MB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.3416, allocations: 0 / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.394e-05/0.3416, allocations: 3.984 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.3417, allocations: 11.92 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.3424, allocations: 171.5 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.3425, allocations: 47.84 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.3426, allocations: 11.94 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.517e-05/0.3426, allocations: 15.98 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.3427, allocations: 19.91 kB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.3427, allocations: 8 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.3431, allocations: 207.7 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.3431, allocations: 11.94 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.3432, allocations: 11.94 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.3435, allocations: 195.5 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.3435, allocations: 3.984 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3435, allocations: 0 / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.729e-06/0.3435, allocations: 0 / 1.217 GB, free: 14.01 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.0005928/0.3441, allocations: 430.5 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3441, allocations: 12.03 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.3442, allocations: 12.83 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.3443, allocations: 176.3 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3444, allocations: 384 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.3444, allocations: 4.375 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3446, allocations: 77.97 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3446, allocations: 0 / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3446, allocations: 0 / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3446, allocations: 0 / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3447, allocations: 47.97 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.3452, allocations: 280.8 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.3453, allocations: 54.55 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3454, allocations: 52.91 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3454, allocations: 3.984 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.3454, allocations: 38.56 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3454, allocations: 0 / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004243/0.3459, allocations: 191.2 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.3459, allocations: 77.11 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.346, allocations: 121.8 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3461, allocations: 29.7 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.3461, allocations: 88.12 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.3461, allocations: 11.95 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.3462, allocations: 17.75 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3463, allocations: 322.8 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.3464, allocations: 55.97 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3466, allocations: 64.02 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.3468, allocations: 193.8 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3468, allocations: 0 / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003163/0.3471, allocations: 224.9 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.3472, allocations: 67.39 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3472, allocations: 0 / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3472, allocations: 0 / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.295e-05/0.3473, allocations: 4 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3473, allocations: 0 / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.3473, allocations: 11.94 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3473, allocations: 4 kB / 1.219 GB, free: 11.1 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.0001289/0.3474, allocations: 151.5 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.3475, allocations: 7.953 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.3475, allocations: 7.906 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3475, allocations: 3.984 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3475, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3475, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.3477, allocations: 177.6 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3477, allocations: 0 / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.3477, allocations: 4 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3477, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3477, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3477, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3477, allocations: 4 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.3481, allocations: 257 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.3481, allocations: 81.05 kB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3481, allocations: 7.984 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.3482, allocations: 4 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.3483, allocations: 7.984 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3483, allocations: 4 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.656e-05/0.3484, allocations: 99.3 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3484, allocations: 4 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003377/0.3487, allocations: 51.94 kB / 1.22 GB, free: 10.13 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.0003188/0.3491, allocations: 155.1 kB / 1.22 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.3494, allocations: 234.7 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3494, allocations: 0 / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3496, allocations: 103.4 kB / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.3498, allocations: 9.547 kB / 1.221 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.3502, allocations: 207.1 kB / 1.221 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.3505, allocations: 0.6846 MB / 1.222 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.3506, allocations: 7.438 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3506, allocations: 4 kB / 1.222 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of Templates: time 0.003675/0.3542, allocations: 1.501 MB / 1.223 GB, free: 7.148 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.051945145009086]