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.007187/0.007187, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001662/0.001662, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.84 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2767, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002396/0.2792, allocations: 1.432 MB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2804, allocations: 0.7835 MB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.2804, allocations: 0 / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.618e-05/0.2805, allocations: 3.938 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.2805, allocations: 4 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.2812, allocations: 171.6 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2813, allocations: 43.91 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.872e-05/0.2813, allocations: 8 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.021e-05/0.2814, allocations: 19.92 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.2814, allocations: 15.92 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2815, allocations: 4 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.2818, allocations: 207.7 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.2818, allocations: 11.94 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.2819, allocations: 23.86 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.2822, allocations: 191.6 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2822, allocations: 0 / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2822, allocations: 0 / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2822, allocations: 0 / 1.211 GB, free: 6.695 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.0004534/0.2826, allocations: 434.7 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2827, allocations: 8.625 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.2827, allocations: 4.938 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2828, allocations: 176.3 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2829, allocations: 4.375 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.2829, allocations: 8.312 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.2831, allocations: 77.97 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.2831, allocations: 0 / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.2831, allocations: 0 / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.2831, allocations: 0 / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.2832, allocations: 51.91 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.2836, allocations: 280.9 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.2837, allocations: 58.55 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.2838, allocations: 52.91 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.2838, allocations: 0 / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.2839, allocations: 34.56 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2839, allocations: 0 / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003662/0.2842, allocations: 191.2 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.2843, allocations: 81.11 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.749e-05/0.2844, allocations: 121.8 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2844, allocations: 29.7 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.2845, allocations: 84.14 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.2845, allocations: 11.84 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.2845, allocations: 17.72 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.2846, allocations: 322.9 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.2848, allocations: 59.97 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.123e-05/0.2849, allocations: 59.95 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.2851, allocations: 197.8 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2851, allocations: 0 / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002766/0.2854, allocations: 216.9 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.2854, allocations: 67.39 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2854, allocations: 0 / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2855, allocations: 4 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.2855, allocations: 7.938 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2855, allocations: 0 / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.2856, allocations: 7.984 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2856, allocations: 4 kB / 1.213 GB, free: 3.785 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.762e-05/0.2857, allocations: 151.4 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.2857, allocations: 3.969 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.2858, allocations: 15.89 kB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2858, allocations: 4 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2858, allocations: 0 / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2858, allocations: 0 / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.286, allocations: 173.6 kB / 1.213 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.286, allocations: 4 kB / 1.213 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.286, allocations: 3.938 kB / 1.213 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.286, allocations: 0 / 1.213 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.286, allocations: 4 kB / 1.213 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.286, allocations: 0 / 1.213 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.286, allocations: 0 / 1.213 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.2863, allocations: 257.3 kB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.2864, allocations: 85.09 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2864, allocations: 0 / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.2865, allocations: 4 kB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.831e-05/0.2866, allocations: 7.984 kB / 1.214 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.2866, allocations: 4 kB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.2866, allocations: 99.64 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2866, allocations: 4.031 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003046/0.287, allocations: 52 kB / 1.214 GB, free: 2.816 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.0002532/0.2872, allocations: 159.2 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.2875, allocations: 238.7 kB / 1.214 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2875, allocations: 0 / 1.214 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.2877, allocations: 103.4 kB / 1.214 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.2879, allocations: 16 kB / 1.214 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.2882, allocations: 177.3 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.2885, allocations: 0.6923 MB / 1.215 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.532e-05/0.2885, allocations: 0 / 1.215 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.2885, allocations: 7.438 kB / 1.215 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.2885, allocations: 0 / 1.215 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of Templates: time 0.004105/0.2926, allocations: 1.794 MB / 1.217 GB, free: 15.58 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