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.001152/0.001152, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0009079/0.0009079, allocations: 173.9 kB / 23.21 MB, free: 1.336 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 0.9234/0.9234, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.748/1.748, allocations: 377.8 MB / 0.6228 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] 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.402e-06/1.402e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.879e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002011/0.00203, allocations: 1.469 MB / 0.9837 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003056, allocations: 0.779 MB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.003093, allocations: 8 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 8.204e-05/0.003175, allocations: 7.922 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.003227, allocations: 0 / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.003782, allocations: 179.4 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.003888, allocations: 43.91 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.003968, allocations: 7.984 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.004022, allocations: 23.98 kB / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.004077, allocations: 15.98 kB / 0.9847 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.004096, allocations: 4 kB / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.004366, allocations: 215.6 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.004417, allocations: 11.94 kB / 0.9849 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.004456, allocations: 15.98 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.004715, allocations: 239.5 kB / 0.9852 GB, free: 15.06 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004717, allocations: 0 / 0.9852 GB, free: 15.06 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.004718, allocations: 0 / 0.9852 GB, free: 15.06 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.004723, allocations: 0 / 0.9852 GB, free: 15.06 MB / 0.948 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.0004269/0.005149, allocations: 357.4 kB / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.005187, allocations: 8.031 kB / 0.9855 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.005225, allocations: 8.891 kB / 0.9855 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.695e-05/0.005312, allocations: 121.7 kB / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.005323, allocations: 384 / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.005334, allocations: 4.375 kB / 0.9856 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.005508, allocations: 111.9 kB / 0.9857 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005516, allocations: 192 / 0.9857 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.005526, allocations: 384 / 0.9857 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.005531, allocations: 7.938 kB / 0.9857 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.672e-05/0.005607, allocations: 73.67 kB / 0.9858 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.005906, allocations: 220.6 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.221e-05/0.005998, allocations: 84.25 kB / 0.9861 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/0.006061, allocations: 78.55 kB / 0.9862 GB, free: 13.87 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.006074, allocations: 0 / 0.9862 GB, free: 13.87 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.006096, allocations: 38.5 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.006097, allocations: 3.938 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.000293/0.00639, allocations: 242.7 kB / 0.9865 GB, free: 13.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.006427, allocations: 81.14 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.006508, allocations: 125.8 kB / 0.9866 GB, free: 13.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.006521, allocations: 25.7 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.006563, allocations: 92.08 kB / 0.9868 GB, free: 13.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.006576, allocations: 3.953 kB / 0.9868 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.006609, allocations: 25.7 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.912e-05/0.006688, allocations: 314.8 kB / 0.9871 GB, free: 12.85 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.006773, allocations: 123.3 kB / 0.9872 GB, free: 12.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.006849, allocations: 119.4 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.006996, allocations: 197.9 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006998, allocations: 4 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002178/0.007216, allocations: 280.4 kB / 0.9878 GB, free: 12.06 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.007259, allocations: 63.34 kB / 0.9878 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.007264, allocations: 0 / 0.9878 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.007276, allocations: 4 kB / 0.9878 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.007341, allocations: 11.98 kB / 0.9879 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.007349, allocations: 4 kB / 0.9879 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.007373, allocations: 4 kB / 0.9879 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.007382, allocations: 0 / 0.9879 GB, free: 11.96 MB / 0.948 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 7.668e-05/0.007459, allocations: 155.5 kB / 0.988 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.007474, allocations: 11.89 kB / 0.988 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.007494, allocations: 8 kB / 0.988 GB, free: 11.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007496, allocations: 4 kB / 0.988 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.0075, allocations: 0 / 0.988 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.007503, allocations: 0 / 0.988 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.397e-05/0.007597, allocations: 113.3 kB / 0.9881 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.007598, allocations: 0 / 0.9881 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.007611, allocations: 4 kB / 0.9881 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.007612, allocations: 0 / 0.9881 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.007622, allocations: 7.938 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.007625, allocations: 7.984 kB / 0.9882 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.007625, allocations: 0 / 0.9882 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.007817, allocations: 279.1 kB / 0.9884 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.007824, allocations: 0 / 0.9884 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.007839, allocations: 7.938 kB / 0.9884 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.641e-05/0.007875, allocations: 7.984 kB / 0.9884 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.007959, allocations: 7.938 kB / 0.9885 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.007964, allocations: 4 kB / 0.9885 GB, free: 11.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.945e-05/0.008003, allocations: 95.7 kB / 0.9885 GB, free: 11.19 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.008003, allocations: 4.031 kB / 0.9885 GB, free: 11.19 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002158/0.008219, allocations: 67.8 kB / 0.9886 GB, free: 11.12 MB / 0.948 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.0002085/0.008428, allocations: 159.1 kB / 0.9888 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.008697, allocations: 319.8 kB / 0.9891 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008698, allocations: 0 / 0.9891 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.008779, allocations: 133 kB / 0.9892 GB, free: 10.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.008936, allocations: 4.328 kB / 0.9892 GB, free: 10.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.009587, allocations: 240.2 kB / 0.9894 GB, free: 10.17 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.765e-05/0.009645, allocations: 71.34 kB / 0.9895 GB, free: 10.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.009664, allocations: 8.5 kB / 0.9895 GB, free: 10.07 MB / 0.948 GB Notification: Performance of SimCode: time 9.71e-07/0.009665, allocations: 0 / 0.9895 GB, free: 10.07 MB / 0.948 GB Notification: Performance of Templates: time 0.002623/0.01229, allocations: 1.516 MB / 0.991 GB, free: 8.562 MB / 0.948 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: 6.8463682774454355]