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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00154/0.00154, allocations: 104.4 kB / 16.35 MB, free: 5.824 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.001853/0.001853, allocations: 192.9 kB / 17.29 MB, free: 5.48 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.438/2.438, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001203, allocations: 56.03 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2516, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002377/0.254, allocations: 1.45 MB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2552, allocations: 0.7877 MB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.2552, allocations: 0 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.77e-05/0.2553, allocations: 3.938 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.2554, allocations: 7.969 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.2559, allocations: 175 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.945e-05/0.256, allocations: 47.97 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.054e-05/0.2561, allocations: 4 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.2562, allocations: 15.92 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.2562, allocations: 27.91 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.2562, allocations: 8 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.2565, allocations: 195.7 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.2566, allocations: 7.984 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.2566, allocations: 19.88 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.2569, allocations: 195.6 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2569, allocations: 0 / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2569, allocations: 0 / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2569, allocations: 0 / 1.03 GB, free: 15.1 MB / 0.8106 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.000425/0.2574, allocations: 430.7 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2574, allocations: 15.97 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.2574, allocations: 12.84 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.2576, allocations: 168.3 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2576, allocations: 8.359 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.2576, allocations: 384 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.2578, allocations: 77.97 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2578, allocations: 7.938 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2578, allocations: 4 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2578, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.2579, allocations: 43.97 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.2583, allocations: 280.9 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.2584, allocations: 54.55 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.902e-05/0.2585, allocations: 48.91 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.2585, allocations: 3.938 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.2585, allocations: 38.5 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2585, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003823/0.2589, allocations: 187.2 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.259, allocations: 81.09 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.315e-05/0.2591, allocations: 121.8 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2591, allocations: 29.7 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.2591, allocations: 88.12 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.2592, allocations: 11.84 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.2592, allocations: 25.75 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.2593, allocations: 314.8 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/0.2594, allocations: 55.97 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.2595, allocations: 63.89 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.2598, allocations: 197.9 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2598, allocations: 4 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000273/0.26, allocations: 216.9 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.2601, allocations: 67.34 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2601, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2601, allocations: 7.984 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.2602, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.2602, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.2602, allocations: 8 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2603, allocations: 0 / 1.032 GB, free: 12.19 MB / 0.8106 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.874e-05/0.2604, allocations: 155.4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.2604, allocations: 7.906 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.2604, allocations: 11.91 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2604, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2604, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2605, allocations: 7.984 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2606, allocations: 165.6 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2606, allocations: 0 / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.2607, allocations: 7.984 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2607, allocations: 0 / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2607, allocations: 4 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2607, allocations: 0 / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2607, allocations: 4 kB / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.261, allocations: 245.4 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.261, allocations: 85 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.261, allocations: 4 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.2611, allocations: 7.984 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.2612, allocations: 4 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2612, allocations: 7.984 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.2613, allocations: 107.2 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2613, allocations: 0 / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003088/0.2616, allocations: 56 kB / 1.033 GB, free: 11.21 MB / 0.8106 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.0002392/0.2618, allocations: 151.1 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.2622, allocations: 238.7 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2622, allocations: 0 / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.2623, allocations: 107.4 kB / 1.033 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2625, allocations: 8.953 kB / 1.033 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.2629, allocations: 181.5 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.2631, allocations: 0.6846 MB / 1.034 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.7e-05/0.2631, allocations: 0 / 1.034 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.2632, allocations: 11.44 kB / 1.034 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2632, allocations: 0 / 1.034 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of Templates: time 0.004035/0.2672, allocations: 1.766 MB / 1.036 GB, free: 8.012 MB / 0.8106 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 -s gbode -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/jenkins1/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