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.001899/0.001899, allocations: 85.48 kB / 19.44 MB, free: 344 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.002103/0.002103, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.696/1.696, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.456/3.456, allocations: 429.4 MB / 0.6729 GB, free: 4.008 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.934e-06/1.934e-06, allocations: 0 / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.441e-05/3.635e-05, allocations: 3.906 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003296/0.003332, allocations: 1.469 MB / 0.8789 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.00506, allocations: 0.7983 MB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.005097, allocations: 0 / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.237e-05/0.005189, allocations: 3.984 kB / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.087e-05/0.00525, allocations: 8.469 kB / 0.8797 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.006033, allocations: 181.6 kB / 0.8799 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.006169, allocations: 43.92 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.006266, allocations: 17.22 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.00633, allocations: 19.98 kB / 0.88 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.006387, allocations: 11.98 kB / 0.88 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.006408, allocations: 4.875 kB / 0.88 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000444/0.006852, allocations: 215.6 kB / 0.8802 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.006908, allocations: 13.42 kB / 0.8802 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.006953, allocations: 11.94 kB / 0.8802 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.00738, allocations: 235.4 kB / 0.8804 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.007387, allocations: 4 kB / 0.8804 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007388, allocations: 1.469 kB / 0.8804 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.007397, allocations: 4 kB / 0.8804 GB, free: 3.621 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.0006955/0.008092, allocations: 459.2 kB / 0.8809 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.008137, allocations: 12.03 kB / 0.8809 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.008198, allocations: 10.14 kB / 0.8809 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.008338, allocations: 108.6 kB / 0.881 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.008353, allocations: 384 / 0.881 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.00837, allocations: 7.688 kB / 0.881 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.008601, allocations: 107.5 kB / 0.8811 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.008611, allocations: 0 / 0.8811 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.008621, allocations: 0 / 0.8811 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.008629, allocations: 4 kB / 0.8811 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.008773, allocations: 77.61 kB / 0.8812 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.009393, allocations: 283.7 kB / 0.8815 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.00956, allocations: 92.67 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.009683, allocations: 81.44 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.009701, allocations: 0 / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.009749, allocations: 45.31 kB / 0.8817 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.00975, allocations: 0 / 0.8817 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000497/0.01025, allocations: 238.7 kB / 0.8819 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.01031, allocations: 77.11 kB / 0.882 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.01049, allocations: 185.9 kB / 0.8821 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.01052, allocations: 29.7 kB / 0.8822 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.01063, allocations: 138.8 kB / 0.8823 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.01066, allocations: 11.95 kB / 0.8823 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.01072, allocations: 31.41 kB / 0.8823 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002816/0.011, allocations: 0.4923 MB / 0.8828 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.01114, allocations: 99.38 kB / 0.8829 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.01128, allocations: 107.4 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.01153, allocations: 188.7 kB / 0.8832 GB, free: 496 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.01153, allocations: 7.938 kB / 0.8832 GB, free: 488 kB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003527/0.01189, allocations: 256.3 kB / 0.8835 GB, free: 200 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.56e-05/0.01196, allocations: 67.39 kB / 0.8835 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01197, allocations: 0 / 0.8835 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.01198, allocations: 4 kB / 0.8835 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.01205, allocations: 4 kB / 0.8835 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01206, allocations: 0 / 0.8835 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.0121, allocations: 4 kB / 0.8835 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.01211, allocations: 3.984 kB / 0.8835 GB, free: 104 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.0001795/0.01229, allocations: 190.2 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.01233, allocations: 11.89 kB / 0.8837 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.01236, allocations: 8 kB / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01236, allocations: 0 / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01236, allocations: 0 / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01237, allocations: 8 kB / 0.8837 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.01256, allocations: 136.5 kB / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.01256, allocations: 3.938 kB / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.01259, allocations: 4 kB / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01259, allocations: 64 / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.01261, allocations: 8 kB / 0.8839 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01261, allocations: 0 / 0.8839 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01261, allocations: 0 / 0.8839 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.013, allocations: 327.3 kB / 0.8842 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.01302, allocations: 11.89 kB / 0.8842 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.01304, allocations: 32 / 0.8842 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.0131, allocations: 8 kB / 0.8842 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.01318, allocations: 7.984 kB / 0.8842 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.01319, allocations: 0 / 0.8842 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.41e-05/0.01328, allocations: 139.1 kB / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01328, allocations: 4 kB / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003532/0.01364, allocations: 55.94 kB / 0.8844 GB, free: 15.11 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.000345/0.01398, allocations: 163 kB / 0.8846 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004538/0.01443, allocations: 311.5 kB / 0.8849 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01444, allocations: 4 kB / 0.8849 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.01461, allocations: 136.8 kB / 0.885 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.01485, allocations: 10.28 kB / 0.885 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.01537, allocations: 219.1 kB / 0.8852 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.728e-05/0.01545, allocations: 67.34 kB / 0.8853 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.283e-05/0.01548, allocations: 0 / 0.8853 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.01551, allocations: 16.48 kB / 0.8853 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.01551, allocations: 0 / 0.8853 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.005856/0.02137, allocations: 1.793 MB / 0.8871 GB, free: 12.32 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] 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.171828081947751]