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.002203/0.002203, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.00261/0.00261, allocations: 174 kB / 22.46 MB, free: 5.355 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.588/1.588, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.961/2.961, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9814 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.424e-05, allocations: 5.516 kB / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003002/0.003037, allocations: 1.471 MB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.004639, allocations: 0.779 MB / 0.9837 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.004678, allocations: 0 / 0.9837 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.062e-05/0.004768, allocations: 7.922 kB / 0.9837 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.128e-05/0.00482, allocations: 0 / 0.9837 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.00555, allocations: 186.8 kB / 0.9838 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.005689, allocations: 47.92 kB / 0.9839 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.005782, allocations: 7.922 kB / 0.9839 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.853e-05/0.00585, allocations: 19.98 kB / 0.9839 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.005916, allocations: 19.92 kB / 0.9839 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.005938, allocations: 4 kB / 0.9839 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.006339, allocations: 203.7 kB / 0.9841 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.006399, allocations: 15.97 kB / 0.9841 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.006443, allocations: 23.88 kB / 0.9842 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.006825, allocations: 235.4 kB / 0.9844 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.006829, allocations: 4 kB / 0.9844 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.22e-07/0.00683, allocations: 0 / 0.9844 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.006834, allocations: 0 / 0.9844 GB, free: 8.891 MB / 0.9356 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.0005846/0.007419, allocations: 357.4 kB / 0.9847 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.007462, allocations: 8.031 kB / 0.9847 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.007516, allocations: 8.891 kB / 0.9847 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.007664, allocations: 113.7 kB / 0.9849 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.007678, allocations: 384 / 0.9849 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.007692, allocations: 4.375 kB / 0.9849 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.007934, allocations: 107.9 kB / 0.985 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.007942, allocations: 192 / 0.985 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.007955, allocations: 4.375 kB / 0.985 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.007963, allocations: 3.938 kB / 0.985 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.008106, allocations: 77.61 kB / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.008517, allocations: 220.5 kB / 0.9853 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.008671, allocations: 84.25 kB / 0.9853 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.008784, allocations: 70.61 kB / 0.9854 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.0088, allocations: 4 kB / 0.9854 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.00884, allocations: 50.42 kB / 0.9855 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.008841, allocations: 0 / 0.9855 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000474/0.009315, allocations: 246.7 kB / 0.9857 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.009385, allocations: 77.11 kB / 0.9858 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.009506, allocations: 125.8 kB / 0.9859 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.009529, allocations: 29.64 kB / 0.9859 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.009601, allocations: 92.12 kB / 0.986 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.009619, allocations: 3.953 kB / 0.986 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.009668, allocations: 25.75 kB / 0.986 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.009836, allocations: 322.8 kB / 0.9863 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.009988, allocations: 115.4 kB / 0.9864 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.01013, allocations: 115.4 kB / 0.9866 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.01038, allocations: 201.8 kB / 0.9868 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01039, allocations: 0 / 0.9868 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003711/0.01076, allocations: 280.4 kB / 0.987 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/0.01082, allocations: 67.34 kB / 0.9871 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01083, allocations: 0 / 0.9871 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01084, allocations: 4 kB / 0.9871 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.01092, allocations: 7.984 kB / 0.9871 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.01092, allocations: 0 / 0.9871 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.01097, allocations: 4 kB / 0.9871 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.01098, allocations: 4 kB / 0.9871 GB, free: 5.801 MB / 0.9356 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.0001273/0.01111, allocations: 147.5 kB / 0.9872 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.01114, allocations: 11.89 kB / 0.9873 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.01117, allocations: 8 kB / 0.9873 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.01117, allocations: 0 / 0.9873 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01117, allocations: 3.938 kB / 0.9873 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01118, allocations: 4 kB / 0.9873 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.01136, allocations: 121.2 kB / 0.9874 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.01136, allocations: 0 / 0.9874 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.01139, allocations: 4 kB / 0.9874 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01139, allocations: 64 / 0.9874 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.01141, allocations: 11.94 kB / 0.9874 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01141, allocations: 0 / 0.9874 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01141, allocations: 0 / 0.9874 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.01176, allocations: 278.8 kB / 0.9877 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.01176, allocations: 0 / 0.9877 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.01178, allocations: 11.97 kB / 0.9877 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.01186, allocations: 7.984 kB / 0.9877 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.01198, allocations: 4 kB / 0.9877 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.01198, allocations: 7.938 kB / 0.9877 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.032e-05/0.01205, allocations: 95.27 kB / 0.9878 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01205, allocations: 0 / 0.9878 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000328/0.01238, allocations: 55.92 kB / 0.9878 GB, free: 4.969 MB / 0.9356 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.0003366/0.01272, allocations: 163 kB / 0.988 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.01315, allocations: 331.8 kB / 0.9883 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01315, allocations: 0 / 0.9883 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.0133, allocations: 125.1 kB / 0.9884 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.01353, allocations: 8 kB / 0.9884 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.01399, allocations: 202.5 kB / 0.9886 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.055e-05/0.01407, allocations: 71.33 kB / 0.9887 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.795e-05/0.01409, allocations: 3.938 kB / 0.9887 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.01411, allocations: 16.56 kB / 0.9887 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.01411, allocations: 0 / 0.9887 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of Templates: time 0.005205/0.01931, allocations: 1.767 MB / 0.9904 GB, free: 2.215 MB / 0.9356 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/jenkins/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: 8.8056565746665]