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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 192.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002026/0.002026, allocations: 63.91 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8097/0.8118, allocations: 168.7 MB / 1.274 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.004218/0.816, allocations: 1.458 MB / 1.275 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.818, allocations: 0.8003 MB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.8181, allocations: 4 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.8182, allocations: 3.938 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.555e-05/0.8183, allocations: 4 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.8195, allocations: 175.5 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.8196, allocations: 43.92 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.8197, allocations: 10.66 kB / 1.277 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.031e-05/0.8198, allocations: 8 kB / 1.277 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.8199, allocations: 27.91 kB / 1.277 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.8199, allocations: 4 kB / 1.277 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.8203, allocations: 207.7 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.8204, allocations: 7.938 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.8204, allocations: 19.92 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.8209, allocations: 195.5 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8209, allocations: 3.938 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8209, allocations: 0 / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.8209, allocations: 0 / 1.277 GB, free: 1.629 MB / 0.9669 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.0007851/0.8217, allocations: 426.5 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.8217, allocations: 8.031 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.8218, allocations: 12.89 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.822, allocations: 176.2 kB / 1.278 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.822, allocations: 4.375 kB / 1.278 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.822, allocations: 384 / 1.278 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.8223, allocations: 81.98 kB / 1.278 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.8223, allocations: 0 / 1.278 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.8223, allocations: 0 / 1.278 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.8223, allocations: 3.984 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.8224, allocations: 51.89 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.823, allocations: 284.9 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.8232, allocations: 54.5 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.952e-05/0.8233, allocations: 44.91 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.8233, allocations: 4 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.8233, allocations: 30.56 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.8233, allocations: 4 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004937/0.8238, allocations: 187.2 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.8239, allocations: 85.19 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.8241, allocations: 121.8 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.8241, allocations: 25.7 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.8242, allocations: 88.14 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.8242, allocations: 7.891 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.8242, allocations: 29.73 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.8244, allocations: 314.8 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.8245, allocations: 59.95 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.8246, allocations: 55.97 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.8249, allocations: 193.8 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.8249, allocations: 4.062 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003327/0.8252, allocations: 220.9 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/0.8253, allocations: 71.39 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.8253, allocations: 0 / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.8253, allocations: 0 / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.8254, allocations: 4 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.8254, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.8254, allocations: 7.984 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.8255, allocations: 4 kB / 1.28 GB, free: 14.72 MB / 0.9825 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.0001437/0.8256, allocations: 151.5 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.8256, allocations: 3.953 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.8257, allocations: 11.91 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8257, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8257, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.8257, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.8259, allocations: 173.6 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.8259, allocations: 7.938 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.8259, allocations: 3.938 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.8259, allocations: 0 / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.8259, allocations: 4 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8259, allocations: 3.938 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.8259, allocations: 7.984 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.8263, allocations: 249.1 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.8263, allocations: 81.11 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.8263, allocations: 0 / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.8264, allocations: 4 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.8265, allocations: 11.98 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.8266, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.009e-05/0.8266, allocations: 99.3 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8266, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003565/0.827, allocations: 63.86 kB / 1.28 GB, free: 13.75 MB / 0.9825 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.0003333/0.8273, allocations: 147.6 kB / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003848/0.8277, allocations: 238.7 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8277, allocations: 0 / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.8278, allocations: 99.38 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.8281, allocations: 14.73 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.8285, allocations: 185.3 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.8289, allocations: 0.6888 MB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.8289, allocations: 0 / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.829, allocations: 7.438 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.829, allocations: 0 / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of Templates: time 0.005794/0.8348, allocations: 1.787 MB / 1.283 GB, free: 10.54 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.832710226997733]