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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001491/0.001491, allocations: 100.1 kB / 15.88 MB, free: 12 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.001777/0.001777, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.524/1.524, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7726/0.7741, allocations: 140.3 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003109/0.7773, allocations: 1.486 MB / 0.951 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.7786, allocations: 0.8181 MB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.7786, allocations: 0 / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.029e-05/0.7787, allocations: 3.984 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.7788, allocations: 1.375 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.7793, allocations: 134.5 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.7794, allocations: 36.42 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.3e-05/0.7795, allocations: 6.734 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.7796, allocations: 14.86 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.7796, allocations: 17.48 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.7796, allocations: 2.844 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.7799, allocations: 185.5 kB / 0.9522 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.78, allocations: 17.08 kB / 0.9522 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.78, allocations: 12.03 kB / 0.9523 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.7802, allocations: 134.6 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7803, allocations: 3.938 kB / 0.9524 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7803, allocations: 1.625 kB / 0.9524 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.7803, allocations: 3.938 kB / 0.9524 GB, free: 7.059 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.0004543/0.7807, allocations: 435.1 kB / 0.9528 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7808, allocations: 8.531 kB / 0.9528 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.7808, allocations: 8.688 kB / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.7809, allocations: 170.7 kB / 0.953 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.7809, allocations: 1.562 kB / 0.953 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.781, allocations: 11.19 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.7812, allocations: 74.75 kB / 0.9531 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7812, allocations: 0 / 0.9531 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.7812, allocations: 1.531 kB / 0.9531 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-06/0.7812, allocations: 0 / 0.9531 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.7813, allocations: 53.08 kB / 0.9531 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.7817, allocations: 282.2 kB / 0.9534 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.7818, allocations: 57.73 kB / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.263e-05/0.7819, allocations: 46.22 kB / 0.9535 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.7819, allocations: 1.281 kB / 0.9535 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.7819, allocations: 34.56 kB / 0.9535 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.7819, allocations: 5.25 kB / 0.9535 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003823/0.7823, allocations: 180.4 kB / 0.9537 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.7824, allocations: 86.56 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.7825, allocations: 120 kB / 0.9539 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.7825, allocations: 26.55 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.7825, allocations: 98.27 kB / 0.954 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.7825, allocations: 9.5 kB / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.7826, allocations: 20.81 kB / 0.9541 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.7827, allocations: 333.5 kB / 0.9544 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.7828, allocations: 55.66 kB / 0.9544 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.993e-05/0.7829, allocations: 55.97 kB / 0.9545 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.7831, allocations: 198.1 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7831, allocations: 0 / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002694/0.7833, allocations: 217.3 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.7834, allocations: 59.62 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.7834, allocations: 4 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7834, allocations: 0.875 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.7835, allocations: 7.266 kB / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7835, allocations: 0 / 0.9549 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.7836, allocations: 12.84 kB / 0.955 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.7836, allocations: 6.125 kB / 0.955 GB, free: 4.672 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 8.51e-05/0.7837, allocations: 151 kB / 0.9551 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.7837, allocations: 3.094 kB / 0.9551 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.7837, allocations: 9.844 kB / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7837, allocations: 0 / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.7837, allocations: 0.9062 kB / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7838, allocations: 3.984 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.7839, allocations: 170.8 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7839, allocations: 1.219 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.7839, allocations: 7.109 kB / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.7839, allocations: 0 / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.7839, allocations: 2.312 kB / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.784, allocations: 3.938 kB / 0.9553 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.784, allocations: 0 / 0.9553 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.7842, allocations: 254.8 kB / 0.9555 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.7842, allocations: 79.11 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.7843, allocations: 1.125 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.7843, allocations: 8.609 kB / 0.9556 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.7845, allocations: 6.062 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.7845, allocations: 6.203 kB / 0.9556 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.7846, allocations: 106.6 kB / 0.9557 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7846, allocations: 3.938 kB / 0.9557 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003494/0.7849, allocations: 52.91 kB / 0.9558 GB, free: 3.863 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.000273/0.7852, allocations: 157.3 kB / 0.9559 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.7855, allocations: 240.9 kB / 0.9562 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7855, allocations: 0 / 0.9562 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.7856, allocations: 106.7 kB / 0.9563 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.7859, allocations: 7.625 kB / 0.9563 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.7862, allocations: 213.1 kB / 0.9565 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.7864, allocations: 0.6872 MB / 0.9572 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.7864, allocations: 8.75 kB / 0.9572 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.7864, allocations: 0 / 0.9572 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of Templates: time 0.003567/0.79, allocations: 1.488 MB / 0.9586 GB, free: 1.836 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/jenkins1/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