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.002082/0.002082, allocations: 78.41 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.002628/0.002628, allocations: 169.3 kB / 22.46 MB, free: 5.363 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.554/1.554, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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.868/2.868, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 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 2.044e-06/2.044e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.59e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002854/0.00289, allocations: 1.459 MB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.004517, allocations: 0.7915 MB / 0.9532 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.004551, allocations: 0 / 0.9532 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.217e-05/0.004633, allocations: 3.938 kB / 0.9532 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.313e-05/0.004686, allocations: 4 kB / 0.9532 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007151/0.005401, allocations: 183.5 kB / 0.9534 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.005532, allocations: 47.91 kB / 0.9534 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.00562, allocations: 4 kB / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.00569, allocations: 23.92 kB / 0.9535 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.005751, allocations: 15.97 kB / 0.9535 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.005771, allocations: 4 kB / 0.9535 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004435/0.006215, allocations: 211.7 kB / 0.9537 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.00627, allocations: 15.92 kB / 0.9537 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.006306, allocations: 11.98 kB / 0.9537 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.006681, allocations: 235.3 kB / 0.9539 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.006685, allocations: 8 kB / 0.9539 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.32e-07/0.006686, allocations: 0 / 0.9539 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.00669, allocations: 0 / 0.9539 GB, free: 8.539 MB / 0.8575 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.0005655/0.007256, allocations: 361.3 kB / 0.9543 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.007299, allocations: 16.02 kB / 0.9543 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.007342, allocations: 4.891 kB / 0.9543 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.007464, allocations: 109.8 kB / 0.9544 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.007483, allocations: 4.375 kB / 0.9544 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.007495, allocations: 384 / 0.9544 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.007724, allocations: 111.9 kB / 0.9545 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.007733, allocations: 192 / 0.9545 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.007745, allocations: 4.375 kB / 0.9545 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.007752, allocations: 3.938 kB / 0.9545 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.007895, allocations: 77.61 kB / 0.9546 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.008328, allocations: 216.6 kB / 0.9548 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.008493, allocations: 88.19 kB / 0.9549 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.008617, allocations: 74.61 kB / 0.955 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.008634, allocations: 0 / 0.955 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.008672, allocations: 46.38 kB / 0.955 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.008673, allocations: 4 kB / 0.955 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004977/0.009171, allocations: 242.7 kB / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.009246, allocations: 81.11 kB / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.009371, allocations: 121.8 kB / 0.9554 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.009395, allocations: 29.7 kB / 0.9555 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.009465, allocations: 92.06 kB / 0.9555 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.009483, allocations: 7.953 kB / 0.9556 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.009529, allocations: 21.7 kB / 0.9556 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.009687, allocations: 318.8 kB / 0.9559 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.009845, allocations: 119.4 kB / 0.956 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.009995, allocations: 119.4 kB / 0.9561 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.01027, allocations: 201.8 kB / 0.9563 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01027, allocations: 0 / 0.9563 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000373/0.01064, allocations: 280.4 kB / 0.9566 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/0.01071, allocations: 63.34 kB / 0.9566 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.01072, allocations: 8.047 kB / 0.9566 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.01073, allocations: 0 / 0.9566 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.0108, allocations: 4 kB / 0.9566 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.0108, allocations: 4 kB / 0.9566 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.01085, allocations: 4 kB / 0.9566 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.01087, allocations: 4 kB / 0.9566 GB, free: 5.441 MB / 0.8575 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.0001279/0.01099, allocations: 148.4 kB / 0.9568 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.01103, allocations: 11.89 kB / 0.9568 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.01105, allocations: 7.984 kB / 0.9568 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.01105, allocations: 0 / 0.9568 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.01106, allocations: 3.938 kB / 0.9568 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.01106, allocations: 0 / 0.9568 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.01121, allocations: 117.3 kB / 0.9569 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.01121, allocations: 7.938 kB / 0.9569 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.01125, allocations: 7.984 kB / 0.9569 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.01125, allocations: 0 / 0.9569 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.01126, allocations: 3.938 kB / 0.9569 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01126, allocations: 0 / 0.9569 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01126, allocations: 0 / 0.9569 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.0116, allocations: 274.9 kB / 0.9572 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.01162, allocations: 4.234 kB / 0.9572 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.01164, allocations: 7.922 kB / 0.9572 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.01171, allocations: 4.031 kB / 0.9572 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.01183, allocations: 15.98 kB / 0.9572 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01184, allocations: 3.984 kB / 0.9572 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.804e-05/0.01191, allocations: 95.27 kB / 0.9573 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01191, allocations: 3.938 kB / 0.9573 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003329/0.01224, allocations: 55.88 kB / 0.9574 GB, free: 4.605 MB / 0.8575 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.0003141/0.01255, allocations: 167.1 kB / 0.9575 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004627/0.01302, allocations: 319.8 kB / 0.9579 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01302, allocations: 8 kB / 0.9579 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.01318, allocations: 121.1 kB / 0.958 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.01341, allocations: 8 kB / 0.958 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.01387, allocations: 214.4 kB / 0.9582 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.551e-05/0.01396, allocations: 63.34 kB / 0.9582 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.068e-05/0.01398, allocations: 7.938 kB / 0.9583 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.014, allocations: 8.5 kB / 0.9583 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.014, allocations: 0 / 0.9583 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of Templates: time 0.005157/0.01916, allocations: 1.773 MB / 0.96 GB, free: 1.859 MB / 0.8575 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.473787732422352]