Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008043/0.008044, allocations: 100.9 kB / 15.73 MB, free: 6.496 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.001692/0.001692, allocations: 196.6 kB / 16.68 MB, free: 6.375 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.12 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2687, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002426/0.2712, allocations: 1.439 MB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2725, allocations: 0.7874 MB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.2725, allocations: 0 / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.475e-05/0.2726, allocations: 0 / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.088e-05/0.2727, allocations: 7.922 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006569/0.2734, allocations: 171.5 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2735, allocations: 55.89 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.2736, allocations: 4 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.283e-05/0.2736, allocations: 23.92 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.2737, allocations: 11.98 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.2737, allocations: 4 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.274, allocations: 199.7 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.2741, allocations: 11.92 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.2741, allocations: 23.88 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.2744, allocations: 191.6 kB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2744, allocations: 0 / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2745, allocations: 0 / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2745, allocations: 0 / 1.211 GB, free: 6.715 MB / 0.9669 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.0004997/0.275, allocations: 438.6 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.275, allocations: 8.625 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.2751, allocations: 4.938 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2752, allocations: 168.2 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2752, allocations: 12.31 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.2752, allocations: 384 / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.2754, allocations: 85.97 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2754, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2754, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2754, allocations: 0 / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.2756, allocations: 43.97 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.276, allocations: 280.9 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.2761, allocations: 62.42 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/0.2762, allocations: 52.91 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.2762, allocations: 0 / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.2762, allocations: 30.56 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2762, allocations: 0 / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003857/0.2766, allocations: 199.2 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.2767, allocations: 81.09 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.2768, allocations: 121.8 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.2768, allocations: 25.7 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.2769, allocations: 88.12 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.2769, allocations: 11.84 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.2769, allocations: 21.72 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.277, allocations: 318.8 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.2771, allocations: 60 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.2772, allocations: 51.97 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.2774, allocations: 201.9 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2775, allocations: 4 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00027/0.2777, allocations: 220.9 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.2778, allocations: 59.41 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2778, allocations: 4 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2778, allocations: 0 / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.438e-05/0.2779, allocations: 7.984 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2779, allocations: 4 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.2779, allocations: 4 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.278, allocations: 3.938 kB / 1.213 GB, free: 3.805 MB / 0.9669 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 9.686e-05/0.2781, allocations: 151.5 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.2781, allocations: 7.906 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.2781, allocations: 7.906 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2781, allocations: 0 / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2781, allocations: 8 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.2782, allocations: 3.984 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.2783, allocations: 173.6 kB / 1.213 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2783, allocations: 0 / 1.213 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.2784, allocations: 7.984 kB / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2784, allocations: 0 / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2784, allocations: 0 / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2784, allocations: 0 / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2784, allocations: 4 kB / 1.213 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.2787, allocations: 253 kB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.2787, allocations: 77.11 kB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.2787, allocations: 8 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.2788, allocations: 7.984 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.2789, allocations: 7.938 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.2789, allocations: 0 / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.315e-05/0.279, allocations: 103.2 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.279, allocations: 0 / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003114/0.2793, allocations: 56.03 kB / 1.214 GB, free: 2.832 MB / 0.9669 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.000251/0.2796, allocations: 155.2 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.2799, allocations: 234.7 kB / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2799, allocations: 3.938 kB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.28, allocations: 103.4 kB / 1.214 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.2803, allocations: 7.938 kB / 1.214 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.2806, allocations: 185.3 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.2808, allocations: 0.6885 MB / 1.215 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.2808, allocations: 0 / 1.215 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.2809, allocations: 7.438 kB / 1.215 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.2809, allocations: 0 / 1.215 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of Templates: time 0.004193/0.2851, allocations: 1.763 MB / 1.217 GB, free: 15.64 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches