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.001766/0.001766, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.0022/0.0022, allocations: 212.4 kB / 23 MB, free: 4.934 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.603/1.603, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.298/3.298, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 66.42 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4581, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003179/0.4612, allocations: 1.454 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.4629, allocations: 0.7754 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.4629, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.419e-05/0.463, allocations: 3.938 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.4631, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008731/0.4639, allocations: 192.1 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.4641, allocations: 43.97 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.4642, allocations: 7.984 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.447e-05/0.4642, allocations: 15.92 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.4643, allocations: 19.98 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.4643, allocations: 4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004342/0.4647, allocations: 219.7 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.4648, allocations: 15.94 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.4648, allocations: 15.92 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.4652, allocations: 199.3 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4652, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4652, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4652, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 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.0006549/0.4659, allocations: 357.4 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.4659, allocations: 8.031 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.466, allocations: 12.89 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.4661, allocations: 110.5 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4661, allocations: 4.375 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.4661, allocations: 4.375 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.4664, allocations: 111.6 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4664, allocations: 4 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4664, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4664, allocations: 4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.4666, allocations: 77.66 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.467, allocations: 216.6 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4672, allocations: 92.19 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.4673, allocations: 70.61 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.4673, allocations: 3.938 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4673, allocations: 34.56 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.4673, allocations: 7.938 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004899/0.4678, allocations: 238.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.4679, allocations: 81.11 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.468, allocations: 129.8 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.468, allocations: 25.7 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.4681, allocations: 92.12 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.4681, allocations: 7.938 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.4682, allocations: 21.72 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4683, allocations: 314.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.4685, allocations: 123.4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.4686, allocations: 123.3 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.4689, allocations: 193.9 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4689, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003707/0.4693, allocations: 284.3 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.4693, allocations: 63.39 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4693, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4693, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.4694, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4694, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.4695, allocations: 15.92 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4695, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 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.0001276/0.4696, allocations: 152 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.4696, allocations: 15.83 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.4697, allocations: 8 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4697, allocations: 4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4697, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.4697, allocations: 64 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.4697, allocations: 8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.4698, allocations: 11.98 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.4699, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003734/0.4703, allocations: 315.7 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003646/0.4706, allocations: 358.3 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001218/0.4708, allocations: 77.61 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.243e-05/0.4708, allocations: 99.64 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of Backend: time 2.9e-07/0.4708, allocations: 0 / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007957/0.4716, allocations: 380.5 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of SimCode: time 0.000622/0.4722, allocations: 0.6384 MB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of Templates: time 0.005178/0.4774, allocations: 1.862 MB / 1.337 GB, free: 6.832 MB / 1.029 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/jenkins1/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: 9.70841857999767]