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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001556/0.001556, allocations: 104.9 kB / 16.41 MB, free: 6.41 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.001757/0.001758, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.89 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9618/0.9633, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002578/0.966, allocations: 1.425 MB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.9674, allocations: 0.784 MB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.9674, allocations: 0 / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.032e-05/0.9675, allocations: 5.703 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.9676, allocations: 5.547 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.9683, allocations: 167.4 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.9684, allocations: 58.84 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.9685, allocations: 12.53 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.529e-05/0.9686, allocations: 14.06 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.9687, allocations: 16.77 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.9687, allocations: 4.781 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.9691, allocations: 201.4 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.9692, allocations: 10.33 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.9692, allocations: 18.97 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.9696, allocations: 189.4 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9696, allocations: 7.938 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9696, allocations: 0.8438 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.9696, allocations: 0 / 1.091 GB, free: 3.738 MB / 0.8575 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.0004797/0.9701, allocations: 429 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9701, allocations: 8.969 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.9702, allocations: 8.281 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.929e-05/0.9703, allocations: 180.4 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.9703, allocations: 5.875 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.9703, allocations: 6.594 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.9705, allocations: 76.66 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.9706, allocations: 0.7188 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.9706, allocations: 0.625 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.9706, allocations: 1.531 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.9707, allocations: 45.44 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.9711, allocations: 278.5 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.9713, allocations: 64 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.645e-05/0.9714, allocations: 50.02 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.9714, allocations: 0.875 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.9714, allocations: 32.12 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.9714, allocations: 0.7188 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004315/0.9718, allocations: 186.6 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.9719, allocations: 83.58 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.972, allocations: 122.2 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.972, allocations: 31.33 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.9721, allocations: 84.08 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.9721, allocations: 13.95 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.9721, allocations: 18.19 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.9722, allocations: 322.7 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.9723, allocations: 58.06 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.9724, allocations: 61.19 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.9727, allocations: 190.8 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9727, allocations: 0 / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000304/0.973, allocations: 221.5 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.9731, allocations: 71.08 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.9731, allocations: 0 / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.9731, allocations: 0.75 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.9732, allocations: 3.562 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.9732, allocations: 0.75 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.9732, allocations: 14.81 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.9732, allocations: 2.281 kB / 1.094 GB, free: 1.523 MB / 0.8575 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.488e-05/0.9733, allocations: 154.4 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.9734, allocations: 6.75 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.9734, allocations: 6.328 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.9734, allocations: 1.672 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.9734, allocations: 0.9688 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.9734, allocations: 0 / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.9736, allocations: 186.5 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9736, allocations: 0.9062 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.9736, allocations: 4.312 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.9736, allocations: 0 / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.9736, allocations: 5.906 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9736, allocations: 1.062 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9736, allocations: 0 / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.9739, allocations: 256.7 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.9739, allocations: 82.97 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.974, allocations: 1.469 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.974, allocations: 5.891 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.9742, allocations: 5.234 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.9742, allocations: 2.031 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.77e-05/0.9742, allocations: 103.2 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9742, allocations: 0 / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003518/0.9746, allocations: 58.86 kB / 1.095 GB, free: 0.75 MB / 0.8575 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.0002769/0.9749, allocations: 155.4 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.9752, allocations: 238.3 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9752, allocations: 0.5312 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.9754, allocations: 103.4 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.9756, allocations: 6.406 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.976, allocations: 201.4 kB / 1.096 GB, free: 260 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.9762, allocations: 0.6885 MB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.9763, allocations: 8.75 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/0.9763, allocations: 0.7188 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.004101/0.9804, allocations: 1.498 MB / 1.098 GB, free: 15.43 MB / 0.8731 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