Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001537/0.001537, allocations: 105.8 kB / 15.99 MB, free: 6.348 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.001486/0.001486, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.645/2.645, allocations: 469.8 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 71.92 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3356, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003136/0.3388, allocations: 1.498 MB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3402, allocations: 0.7832 MB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.3403, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.091e-05/0.3404, allocations: 3.938 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.053e-05/0.3405, allocations: 4 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007174/0.3412, allocations: 155.8 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.3413, allocations: 47.91 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.898e-05/0.3414, allocations: 4 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.3415, allocations: 27.92 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.3415, allocations: 11.98 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3415, allocations: 4 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.3419, allocations: 207.6 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.3419, allocations: 4 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.342, allocations: 23.86 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3422, allocations: 128.1 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3423, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3423, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3423, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 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.000608/0.3429, allocations: 436.5 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3429, allocations: 8.625 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.343, allocations: 12.84 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3431, allocations: 176.3 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3432, allocations: 4.375 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.3432, allocations: 8.312 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3434, allocations: 73.98 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3434, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3434, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3434, allocations: 4 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3435, allocations: 51.95 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.344, allocations: 268.9 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.3441, allocations: 62.48 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.147e-05/0.3442, allocations: 52.89 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.3442, allocations: 4 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3443, allocations: 38.5 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3443, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0003938/0.3447, allocations: 183.2 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.3447, allocations: 81.11 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3449, allocations: 125.8 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3449, allocations: 29.7 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.3449, allocations: 88.17 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.345, allocations: 11.84 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.345, allocations: 21.7 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3452, allocations: 318.8 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3453, allocations: 55.97 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.3454, allocations: 63.95 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.3456, allocations: 193.8 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3456, allocations: 4 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002922/0.3459, allocations: 216.9 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/0.346, allocations: 67.39 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.346, allocations: 0 / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.346, allocations: 3.938 kB / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/0.3461, allocations: 4 kB / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3461, allocations: 0 / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.3461, allocations: 7.984 kB / 1.07 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.3462, allocations: 4 kB / 1.07 GB, free: 9.316 MB / 0.8419 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 0.0001435/0.3463, allocations: 152.1 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.3464, allocations: 7.891 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.3464, allocations: 7.906 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3464, allocations: 0 / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3464, allocations: 0 / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3464, allocations: 64 / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.3466, allocations: 177.6 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3466, allocations: 0 / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.3466, allocations: 4 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3467, allocations: 4 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3467, allocations: 7.938 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3467, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3467, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.347, allocations: 253.1 kB / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.3471, allocations: 85.02 kB / 1.07 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.3471, allocations: 0 / 1.07 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.3472, allocations: 8.031 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3473, allocations: 7.984 kB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3473, allocations: 4 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.3474, allocations: 95.7 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3e-07/0.3474, allocations: 0 / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003154/0.3477, allocations: 52 kB / 1.07 GB, free: 8.359 MB / 0.8419 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.0003096/0.348, allocations: 159.2 kB / 1.071 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.3484, allocations: 242.7 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3484, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.3485, allocations: 107.3 kB / 1.071 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.3487, allocations: 10.38 kB / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.3491, allocations: 207.1 kB / 1.071 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3495, allocations: 0.6924 MB / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.3495, allocations: 11.44 kB / 1.072 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of SimCode: time 6.71e-07/0.3495, allocations: 0 / 1.072 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of Templates: time 0.003787/0.3533, allocations: 1.502 MB / 1.073 GB, free: 5.352 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches