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.001473/0.001473, allocations: 108.4 kB / 16.41 MB, free: 6.457 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.001592/0.001592, allocations: 187 kB / 17.34 MB, free: 5.719 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.13 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.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.89 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9009/0.9023, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002747/0.9051, allocations: 1.436 MB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.9064, allocations: 0.7822 MB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.9065, allocations: 0 / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.152e-05/0.9065, allocations: 1.859 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.907e-05/0.9066, allocations: 5.672 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.9073, allocations: 170.9 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.9075, allocations: 51.44 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.9076, allocations: 12.28 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.345e-05/0.9076, allocations: 17.98 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.9077, allocations: 18.12 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.9077, allocations: 4.031 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.9081, allocations: 201.5 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.9082, allocations: 10.69 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.9082, allocations: 22.5 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.9086, allocations: 193.3 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9086, allocations: 0 / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9086, allocations: 0.7812 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9086, allocations: 0 / 1.091 GB, free: 3.766 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.0004563/0.9091, allocations: 432.8 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.9091, allocations: 10.16 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.9092, allocations: 6.594 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.467e-05/0.9093, allocations: 177.3 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.9093, allocations: 2.219 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.9093, allocations: 10.16 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.9095, allocations: 72.55 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.9095, allocations: 0.6562 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.9096, allocations: 5.281 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.9096, allocations: 0.6094 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.9097, allocations: 46.09 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.9101, allocations: 278 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.9102, allocations: 60.23 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/0.9103, allocations: 53.91 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.006e-06/0.9103, allocations: 0.7969 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.9103, allocations: 32.16 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.9104, allocations: 0 / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.00042/0.9108, allocations: 184.1 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.9108, allocations: 79.39 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.9109, allocations: 133.9 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.9109, allocations: 31.59 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.911, allocations: 86.72 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.911, allocations: 11.05 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.9111, allocations: 17.92 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.9111, allocations: 322.2 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.9112, allocations: 57.89 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.9113, allocations: 58.39 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.9116, allocations: 194.1 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9116, allocations: 0.5312 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003084/0.9119, allocations: 222.2 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.9119, allocations: 65.92 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.912, allocations: 0 / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.912, allocations: 0.875 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.9121, allocations: 7.891 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.9121, allocations: 1.031 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.9121, allocations: 9.859 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.9121, allocations: 7.078 kB / 1.094 GB, free: 1.547 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 8.268e-05/0.9122, allocations: 157.8 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.9123, allocations: 7.688 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.9123, allocations: 6.266 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.9123, allocations: 0 / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.9123, allocations: 1.828 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.9123, allocations: 0 / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.9125, allocations: 174.2 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9125, allocations: 0.625 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.9125, allocations: 8.016 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9125, allocations: 1.047 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.9125, allocations: 1.875 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9126, allocations: 0.7969 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.9126, allocations: 0.9375 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.9128, allocations: 256 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.9129, allocations: 82.52 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.9129, allocations: 2.688 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.913, allocations: 9.031 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.9131, allocations: 5.578 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.9131, allocations: 5.656 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.9132, allocations: 98.14 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9132, allocations: 0.6875 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004135/0.9136, allocations: 59.23 kB / 1.095 GB, free: 0.7773 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.0002843/0.9139, allocations: 151.2 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.9143, allocations: 242.1 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9143, allocations: 0 / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.9144, allocations: 108.5 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.9146, allocations: 6.625 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.915, allocations: 200 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.9152, allocations: 0.6853 MB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.9153, allocations: 8.906 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of SimCode: time 6.51e-07/0.9153, allocations: 4 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.004341/0.9196, allocations: 1.494 MB / 1.098 GB, free: 15.45 MB / 0.8731 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