Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001292/0.001292, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001269/0.001269, allocations: 194.3 kB / 17.3 MB, free: 5.52 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.369/2.369, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 73.59 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2563, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002887/0.2592, allocations: 1.434 MB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.2604, allocations: 0.7853 MB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.2605, allocations: 4 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.979e-05/0.2606, allocations: 7.938 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.205e-05/0.2606, allocations: 7.984 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.2612, allocations: 174.5 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2613, allocations: 43.97 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.898e-05/0.2614, allocations: 15.98 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.2615, allocations: 11.94 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.2615, allocations: 23.95 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.2615, allocations: 4 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.2618, allocations: 195.7 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.2619, allocations: 15.92 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.2619, allocations: 15.88 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.2622, allocations: 191.6 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2622, allocations: 0 / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2622, allocations: 8 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2622, allocations: 0 / 1.022 GB, free: 6.91 MB / 0.795 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.0004274/0.2627, allocations: 430.7 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2627, allocations: 12.62 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.2627, allocations: 4.844 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.2628, allocations: 172.3 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2629, allocations: 4.375 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2629, allocations: 8.312 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2631, allocations: 81.97 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2631, allocations: 3.938 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2631, allocations: 4 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2631, allocations: 0 / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.2632, allocations: 43.97 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.2636, allocations: 272.9 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.2637, allocations: 62.55 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.2638, allocations: 48.92 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.2638, allocations: 3.984 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.2638, allocations: 34.5 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.2638, allocations: 0 / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003517/0.2642, allocations: 175.3 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.2642, allocations: 81.11 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.2643, allocations: 129.8 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2644, allocations: 33.7 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.2644, allocations: 84.12 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.2644, allocations: 15.84 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.2645, allocations: 17.66 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.2646, allocations: 322.8 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.534e-05/0.2647, allocations: 55.97 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.2648, allocations: 59.91 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.265, allocations: 197.8 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.265, allocations: 0 / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002685/0.2653, allocations: 220.9 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/0.2653, allocations: 63.41 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2653, allocations: 4.062 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.2654, allocations: 0 / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.2654, allocations: 7.984 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.2654, allocations: 0 / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.2655, allocations: 8 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.2655, allocations: 4 kB / 1.024 GB, free: 4.008 MB / 0.795 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.058e-05/0.2656, allocations: 156.1 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.2656, allocations: 7.938 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.709e-05/0.2656, allocations: 3.906 kB / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2657, allocations: 0 / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2657, allocations: 0 / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2657, allocations: 0 / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.2658, allocations: 181.5 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2658, allocations: 4.234 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.2659, allocations: 7.984 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2659, allocations: 0 / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.2659, allocations: 0 / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2659, allocations: 0 / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2659, allocations: 3.984 kB / 1.025 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.2662, allocations: 249.1 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.2662, allocations: 81.05 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.2662, allocations: 8 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.2663, allocations: 7.984 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.2664, allocations: 0 / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.2664, allocations: 8 kB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.309e-05/0.2664, allocations: 99.2 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2665, allocations: 0 / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002926/0.2668, allocations: 55.98 kB / 1.025 GB, free: 3.043 MB / 0.795 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.0002259/0.267, allocations: 151.2 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.2673, allocations: 242.7 kB / 1.025 GB, free: 2.621 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2673, allocations: 0 / 1.025 GB, free: 2.621 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2674, allocations: 99.38 kB / 1.025 GB, free: 2.512 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.2676, allocations: 11.94 kB / 1.026 GB, free: 2.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.268, allocations: 181.5 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.2682, allocations: 0.6884 MB / 1.026 GB, free: 1.582 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.405e-05/0.2682, allocations: 4 kB / 1.026 GB, free: 1.578 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.2682, allocations: 11.44 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2682, allocations: 0 / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of Templates: time 0.003867/0.2721, allocations: 1.762 MB / 1.028 GB, free: 15.84 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches