Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002002/0.002002, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002426/0.002426, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.635/1.635, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.857/2.857, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.552e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003306/0.003341, allocations: 1.467 MB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.00503, allocations: 0.7852 MB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.005063, allocations: 0 / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.473e-05/0.005148, allocations: 1.406 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.005208, allocations: 15.86 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007739/0.005982, allocations: 173.2 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.006119, allocations: 50.3 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.006212, allocations: 7.938 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.006288, allocations: 19.98 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.00635, allocations: 15.97 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.006369, allocations: 4 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.00679, allocations: 215.6 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.006843, allocations: 8 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.006889, allocations: 17.73 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.007289, allocations: 227.5 kB / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.007295, allocations: 4 kB / 0.7893 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.487e-06/0.007299, allocations: 7.938 kB / 0.7893 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.007303, allocations: 0 / 0.7893 GB, free: 9.762 MB / 0.7448 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.0006246/0.007928, allocations: 361.8 kB / 0.7897 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.007973, allocations: 13.69 kB / 0.7897 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.008033, allocations: 4.938 kB / 0.7897 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.008186, allocations: 109.8 kB / 0.7898 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.008202, allocations: 384 / 0.7898 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.008216, allocations: 4.875 kB / 0.7898 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.00846, allocations: 108.5 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.008468, allocations: 192 / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.008479, allocations: 5.188 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.008487, allocations: 3.938 kB / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.008645, allocations: 78.75 kB / 0.79 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.00908, allocations: 220.5 kB / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.009273, allocations: 85.62 kB / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.009406, allocations: 70.61 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.009427, allocations: 4 kB / 0.7904 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.009468, allocations: 40.25 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.009469, allocations: 0 / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000554/0.01002, allocations: 250.7 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.01011, allocations: 82.23 kB / 0.7907 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.01025, allocations: 121.8 kB / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.01027, allocations: 29.7 kB / 0.7909 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.01034, allocations: 84.64 kB / 0.7909 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.01037, allocations: 20.41 kB / 0.791 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.01043, allocations: 21.72 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.01062, allocations: 320.8 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.01079, allocations: 111.4 kB / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.01096, allocations: 123.3 kB / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.01127, allocations: 197.9 kB / 0.7917 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01127, allocations: 6.531 kB / 0.7917 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004095/0.01168, allocations: 276.4 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.537e-05/0.01176, allocations: 67.33 kB / 0.792 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01176, allocations: 4 kB / 0.792 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.01179, allocations: 0 / 0.792 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.01185, allocations: 0 / 0.792 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.01186, allocations: 4.5 kB / 0.792 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.556e-05/0.01191, allocations: 12.66 kB / 0.792 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01192, allocations: 0 / 0.792 GB, free: 6.68 MB / 0.7448 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.0001554/0.01208, allocations: 148.9 kB / 0.7922 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.01212, allocations: 11.94 kB / 0.7922 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.01215, allocations: 8 kB / 0.7922 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01215, allocations: 0.9062 kB / 0.7922 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.01215, allocations: 4 kB / 0.7922 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.01216, allocations: 1.281 kB / 0.7922 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.01233, allocations: 117.2 kB / 0.7923 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01233, allocations: 0 / 0.7923 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.01236, allocations: 8.766 kB / 0.7923 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.01237, allocations: 4 kB / 0.7923 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01238, allocations: 5.156 kB / 0.7923 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01238, allocations: 0 / 0.7923 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01238, allocations: 0 / 0.7923 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.01278, allocations: 284.2 kB / 0.7926 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.01279, allocations: 3.953 kB / 0.7926 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.01281, allocations: 7.938 kB / 0.7926 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.01289, allocations: 5.562 kB / 0.7926 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.01302, allocations: 7.984 kB / 0.7926 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.01303, allocations: 4 kB / 0.7926 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.184e-05/0.01311, allocations: 95.27 kB / 0.7927 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01311, allocations: 2.781 kB / 0.7927 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003425/0.01345, allocations: 55.94 kB / 0.7928 GB, free: 5.855 MB / 0.7448 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.0003392/0.01379, allocations: 167 kB / 0.7929 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005044/0.0143, allocations: 323.8 kB / 0.7933 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.0143, allocations: 0 / 0.7933 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.01448, allocations: 134.2 kB / 0.7934 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.01472, allocations: 4 kB / 0.7934 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.01522, allocations: 217.6 kB / 0.7936 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.298e-05/0.01532, allocations: 75.33 kB / 0.7937 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.841e-05/0.01533, allocations: 1.812 kB / 0.7937 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.01536, allocations: 12.5 kB / 0.7937 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of SimCode: time 4.4e-07/0.01536, allocations: 0 / 0.7937 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.005686/0.02105, allocations: 1.791 MB / 0.7954 GB, free: 3.086 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.293827367015183]