Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 111 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 198.6 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.3 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 64.8 kB / 0.8127 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3935, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00332/0.3969, allocations: 1.5 MB / 0.9513 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3985, allocations: 0.7761 MB / 0.952 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.3985, allocations: 0 / 0.952 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.251e-05/0.3986, allocations: 4 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.3987, allocations: 0 / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.3995, allocations: 171.5 kB / 0.9522 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.3996, allocations: 43.98 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.3997, allocations: 11.98 kB / 0.9522 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.193e-05/0.3998, allocations: 8 kB / 0.9522 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.3998, allocations: 23.91 kB / 0.9523 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3999, allocations: 4 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.4002, allocations: 203.7 kB / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.4003, allocations: 11.92 kB / 0.9525 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.4004, allocations: 15.94 kB / 0.9525 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.4006, allocations: 124.1 kB / 0.9526 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4006, allocations: 3.938 kB / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4006, allocations: 4 kB / 0.9526 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4006, allocations: 0 / 0.9526 GB, free: 6.309 MB / 0.7325 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.000613/0.4012, allocations: 434.7 kB / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4013, allocations: 8.031 kB / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.4014, allocations: 12.84 kB / 0.953 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.4015, allocations: 168.3 kB / 0.9532 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.4015, allocations: 8.375 kB / 0.9532 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.4016, allocations: 4.125 kB / 0.9532 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.4018, allocations: 81.66 kB / 0.9533 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.4018, allocations: 0 / 0.9533 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4018, allocations: 0 / 0.9533 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4018, allocations: 0 / 0.9533 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.4019, allocations: 43.97 kB / 0.9533 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.4024, allocations: 284.7 kB / 0.9536 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.4026, allocations: 62.55 kB / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.4027, allocations: 44.92 kB / 0.9537 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.4027, allocations: 3.938 kB / 0.9537 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4027, allocations: 34.55 kB / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4027, allocations: 0 / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004162/0.4031, allocations: 183.3 kB / 0.9539 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.4032, allocations: 77.14 kB / 0.954 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.4033, allocations: 137.7 kB / 0.9541 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4034, allocations: 25.7 kB / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.4034, allocations: 84.14 kB / 0.9542 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.4034, allocations: 19.77 kB / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.4035, allocations: 21.72 kB / 0.9543 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4036, allocations: 314.8 kB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4038, allocations: 59.95 kB / 0.9546 GB, free: 4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.97e-05/0.4039, allocations: 59.97 kB / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.4041, allocations: 189.9 kB / 0.9549 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4041, allocations: 0 / 0.9549 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002894/0.4044, allocations: 217.2 kB / 0.9551 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.4045, allocations: 67.39 kB / 0.9551 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4045, allocations: 4 kB / 0.9551 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4045, allocations: 0 / 0.9551 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.4046, allocations: 0 / 0.9551 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.4046, allocations: 7.984 kB / 0.9551 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.4047, allocations: 15.89 kB / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4047, allocations: 0 / 0.9552 GB, free: 3.398 MB / 0.7325 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.0001312/0.4048, allocations: 151.5 kB / 0.9553 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.4048, allocations: 4 kB / 0.9553 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.4049, allocations: 3.906 kB / 0.9553 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4049, allocations: 4 kB / 0.9553 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.4049, allocations: 0 / 0.9553 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4049, allocations: 0 / 0.9553 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.4051, allocations: 177.6 kB / 0.9555 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4051, allocations: 4 kB / 0.9555 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.4051, allocations: 4 kB / 0.9555 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4052, allocations: 0 / 0.9555 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.4052, allocations: 3.984 kB / 0.9555 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4052, allocations: 0 / 0.9555 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4052, allocations: 4 kB / 0.9555 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.4055, allocations: 253 kB / 0.9557 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.4055, allocations: 85.05 kB / 0.9558 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.4056, allocations: 4 kB / 0.9558 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.4056, allocations: 7.984 kB / 0.9558 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.4058, allocations: 8 kB / 0.9558 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.4058, allocations: 0 / 0.9558 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.4059, allocations: 103.1 kB / 0.9559 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4059, allocations: 0 / 0.9559 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003488/0.4062, allocations: 63.98 kB / 0.956 GB, free: 2.422 MB / 0.7325 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.0003066/0.4065, allocations: 155.2 kB / 0.9562 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.4069, allocations: 242.7 kB / 0.9564 GB, free: 2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4069, allocations: 0 / 0.9564 GB, free: 2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.407, allocations: 103.4 kB / 0.9565 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.4073, allocations: 6.25 kB / 0.9565 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.4077, allocations: 219.3 kB / 0.9567 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.408, allocations: 0.6844 MB / 0.9574 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.4081, allocations: 11.44 kB / 0.9574 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.4081, allocations: 0 / 0.9574 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of Templates: time 0.00377/0.4119, allocations: 1.496 MB / 0.9588 GB, free: 15.42 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches