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.00141/0.001409, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.363/2.363, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 71.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7076/0.709, allocations: 140.3 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002567/0.7116, allocations: 1.421 MB / 0.951 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.7129, allocations: 0.7728 MB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.7129, allocations: 1.062 kB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.991e-05/0.713, allocations: 4.938 kB / 0.9517 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.713, allocations: 12.84 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.7137, allocations: 181.3 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.7138, allocations: 40.8 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.114e-05/0.7139, allocations: 10.95 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.7139, allocations: 11.53 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.714, allocations: 24.61 kB / 0.952 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.714, allocations: 7.969 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.7143, allocations: 195 kB / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.7144, allocations: 7.75 kB / 0.9522 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.7144, allocations: 20.92 kB / 0.9522 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.7147, allocations: 199.5 kB / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7147, allocations: 3.938 kB / 0.9524 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7147, allocations: 0 / 0.9524 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.7147, allocations: 0 / 0.9524 GB, free: 6.973 MB / 0.7169 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.0004777/0.7152, allocations: 429.9 kB / 0.9528 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7153, allocations: 13.81 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.7153, allocations: 7.188 kB / 0.9529 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.599e-05/0.7154, allocations: 171.7 kB / 0.953 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.7154, allocations: 1.281 kB / 0.953 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.7155, allocations: 11.55 kB / 0.953 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.7156, allocations: 73.7 kB / 0.9531 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7157, allocations: 3.938 kB / 0.9531 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.7157, allocations: 1.562 kB / 0.9531 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.7157, allocations: 3.984 kB / 0.9531 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.7158, allocations: 49.28 kB / 0.9532 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.7162, allocations: 283.4 kB / 0.9534 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.7163, allocations: 52.94 kB / 0.9535 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/0.7164, allocations: 46.56 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.7164, allocations: 0 / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.7165, allocations: 44.56 kB / 0.9536 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.7165, allocations: 0 / 0.9536 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003672/0.7168, allocations: 184.9 kB / 0.9537 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.7169, allocations: 79.45 kB / 0.9538 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.717, allocations: 127.1 kB / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.717, allocations: 25.7 kB / 0.954 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.717, allocations: 91.05 kB / 0.9541 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.717, allocations: 9.688 kB / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.7171, allocations: 24.83 kB / 0.9541 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.7171, allocations: 320.2 kB / 0.9544 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.93e-05/0.7173, allocations: 60.64 kB / 0.9544 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.7174, allocations: 57.16 kB / 0.9545 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.7176, allocations: 193 kB / 0.9547 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7176, allocations: 0 / 0.9547 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002609/0.7178, allocations: 216.7 kB / 0.9549 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.7179, allocations: 63.7 kB / 0.955 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.7179, allocations: 1.469 kB / 0.955 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.7179, allocations: 0 / 0.955 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.718, allocations: 2.906 kB / 0.955 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.718, allocations: 3.984 kB / 0.955 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.718, allocations: 17.7 kB / 0.955 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.718, allocations: 1.469 kB / 0.955 GB, free: 4.594 MB / 0.7169 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 7.423e-05/0.7181, allocations: 155.2 kB / 0.9551 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.7182, allocations: 6.719 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.93e-05/0.7182, allocations: 13.25 kB / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.7182, allocations: 1.438 kB / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7182, allocations: 0 / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.7182, allocations: 0 / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.7183, allocations: 175.3 kB / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7183, allocations: 0 / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.7184, allocations: 3.344 kB / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.7184, allocations: 0 / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.7184, allocations: 2.781 kB / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7184, allocations: 4 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7184, allocations: 8.047 kB / 0.9553 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.7186, allocations: 248.4 kB / 0.9556 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.7187, allocations: 77.11 kB / 0.9556 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.7187, allocations: 14.86 kB / 0.9557 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.7188, allocations: 2.812 kB / 0.9557 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.7189, allocations: 6.984 kB / 0.9557 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.7189, allocations: 6.562 kB / 0.9557 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.7189, allocations: 101.9 kB / 0.9558 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7189, allocations: 0 / 0.9558 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003483/0.7193, allocations: 56.98 kB / 0.9558 GB, free: 3.773 MB / 0.7169 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.0002539/0.7196, allocations: 155 kB / 0.956 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.7198, allocations: 236.7 kB / 0.9562 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7199, allocations: 4 kB / 0.9562 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.72, allocations: 103.6 kB / 0.9563 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.7202, allocations: 2.75 kB / 0.9563 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.7205, allocations: 183 kB / 0.9565 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.7207, allocations: 0.6939 MB / 0.9572 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.7207, allocations: 4.062 kB / 0.9572 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.7207, allocations: 8.469 kB / 0.9572 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7207, allocations: 1.25 kB / 0.9572 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of Templates: time 0.004048/0.7248, allocations: 1.748 MB / 0.9589 GB, free: 1.652 MB / 0.7169 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/jenkins/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