Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001618/0.001618, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001777/0.001777, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.673/1.673, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.36/3.36, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/3.641e-05, allocations: 2.859 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003916/0.003953, allocations: 1.471 MB / 0.8791 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.005973, allocations: 0.7861 MB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.006013, allocations: 4.719 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.484e-05/0.006108, allocations: 0 / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.006172, allocations: 5.594 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.007201, allocations: 181.6 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.007357, allocations: 43.97 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.007458, allocations: 7.875 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.007531, allocations: 23.98 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.007601, allocations: 15.97 kB / 0.8801 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.007624, allocations: 4.5 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/0.008162, allocations: 209 kB / 0.8803 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.008231, allocations: 19.92 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.008282, allocations: 8 kB / 0.8803 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.008776, allocations: 235.4 kB / 0.8806 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.008781, allocations: 1.594 kB / 0.8806 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/0.008782, allocations: 0 / 0.8806 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.008788, allocations: 0 / 0.8806 GB, free: 3.488 MB / 0.8386 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.0007534/0.009542, allocations: 357.3 kB / 0.8809 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.0096, allocations: 9.844 kB / 0.8809 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.926e-05/0.009689, allocations: 16.88 kB / 0.8809 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.009861, allocations: 113.7 kB / 0.881 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.009882, allocations: 4.375 kB / 0.881 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.009896, allocations: 3.125 kB / 0.881 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.01019, allocations: 111.5 kB / 0.8811 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.01021, allocations: 0 / 0.8811 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.01022, allocations: 0 / 0.8811 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.01023, allocations: 0 / 0.8811 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.01042, allocations: 77.61 kB / 0.8812 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.01096, allocations: 232.5 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.01116, allocations: 88.19 kB / 0.8815 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.01132, allocations: 74.61 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.01133, allocations: 0 / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.01139, allocations: 38.56 kB / 0.8816 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.01139, allocations: 3.938 kB / 0.8816 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0006489/0.01204, allocations: 238.7 kB / 0.8819 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.01212, allocations: 81.11 kB / 0.8819 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.01229, allocations: 129.8 kB / 0.8821 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.01232, allocations: 29.73 kB / 0.8821 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.01241, allocations: 92.09 kB / 0.8822 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.01243, allocations: 3.953 kB / 0.8822 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.0125, allocations: 25.7 kB / 0.8822 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.01272, allocations: 318.8 kB / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.01293, allocations: 115.4 kB / 0.8826 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.01313, allocations: 119.4 kB / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.01351, allocations: 197.8 kB / 0.8829 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.01351, allocations: 3.938 kB / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005155/0.01403, allocations: 292.4 kB / 0.8832 GB, free: 484 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.838e-05/0.01411, allocations: 59.41 kB / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01411, allocations: 240 / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.01414, allocations: 3.984 kB / 0.8833 GB, free: 408 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.01422, allocations: 4 kB / 0.8833 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.01422, allocations: 3.938 kB / 0.8833 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.01428, allocations: 4 kB / 0.8833 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.01431, allocations: 7.984 kB / 0.8833 GB, free: 388 kB / 0.8386 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.0003289/0.01464, allocations: 151.5 kB / 0.8834 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.01468, allocations: 11.95 kB / 0.8834 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.01471, allocations: 15.94 kB / 0.8835 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.01472, allocations: 3.984 kB / 0.8835 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.01472, allocations: 0 / 0.8835 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01473, allocations: 0 / 0.8835 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.01495, allocations: 113.2 kB / 0.8836 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.01495, allocations: 3.938 kB / 0.8836 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.01499, allocations: 4 kB / 0.8836 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.015, allocations: 3.984 kB / 0.8836 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01501, allocations: 4 kB / 0.8836 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01501, allocations: 0 / 0.8836 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01501, allocations: 4 kB / 0.8836 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.0155, allocations: 270.9 kB / 0.8838 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.01552, allocations: 11.89 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.01555, allocations: 3.984 kB / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01565, allocations: 4 kB / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.01582, allocations: 8 kB / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.01583, allocations: 0 / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001026/0.01593, allocations: 103.2 kB / 0.884 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01593, allocations: 0 / 0.884 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005167/0.01645, allocations: 55.97 kB / 0.884 GB, free: 15.55 MB / 0.8542 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.0004199/0.01687, allocations: 167.1 kB / 0.8842 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005766/0.01744, allocations: 319.8 kB / 0.8845 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01745, allocations: 0 / 0.8845 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.01766, allocations: 129.1 kB / 0.8846 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.01799, allocations: 11.88 kB / 0.8846 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.01864, allocations: 217.7 kB / 0.8848 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.01875, allocations: 71.28 kB / 0.8849 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.01877, allocations: 4 kB / 0.8849 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.01881, allocations: 12.5 kB / 0.8849 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01881, allocations: 0 / 0.8849 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of Templates: time 0.006962/0.02577, allocations: 1.795 MB / 0.8867 GB, free: 12.76 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.318972280947492]