Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.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.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 112.5 kB / 15.73 MB, free: 76 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.001612/0.001612, allocations: 191.3 kB / 16.67 MB, free: 6.582 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.91 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3276, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002904/0.3306, allocations: 1.469 MB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.3321, allocations: 0.7829 MB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.3321, allocations: 4 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.3323, allocations: 127.7 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006777/0.333, allocations: 183.5 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.3332, allocations: 71.8 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3334, allocations: 75.73 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.811e-05/0.3334, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.715e-05/0.3335, allocations: 43.88 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3336, allocations: 79.84 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.3336, allocations: 8 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.334, allocations: 227.7 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.3342, allocations: 107.7 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.3342, allocations: 87.27 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.3347, allocations: 310.8 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3347, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3347, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3347, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007666/0.3354, allocations: 0.5793 MB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3355, allocations: 12.03 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.3355, allocations: 32.7 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.3359, allocations: 382.6 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3359, allocations: 4.375 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.336, allocations: 4.312 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3362, allocations: 85.97 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3362, allocations: 0 / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3362, allocations: 0 / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3362, allocations: 0 / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.3364, allocations: 107.9 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.337, allocations: 456.7 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3372, allocations: 110.5 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3373, allocations: 56.89 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.3373, allocations: 23.98 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3374, allocations: 30.56 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3374, allocations: 0 / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004905/0.3379, allocations: 213.4 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.3379, allocations: 51.41 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.3385, allocations: 0.5483 MB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3385, allocations: 25.7 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3386, allocations: 160 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.3387, allocations: 11.95 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.3387, allocations: 37.64 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3389, allocations: 346.8 kB / 1.227 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.339, allocations: 95.94 kB / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.3392, allocations: 93.62 kB / 1.227 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.3395, allocations: 183.8 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3395, allocations: 0 / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004086/0.3399, allocations: 265.3 kB / 1.228 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3399, allocations: 8 kB / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3399, allocations: 0 / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3399, allocations: 4 kB / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.34, allocations: 31.92 kB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3401, allocations: 0 / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/0.3401, allocations: 15.94 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3401, allocations: 11.92 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001315/0.3403, allocations: 166.3 kB / 1.228 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.3403, allocations: 31.8 kB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.3406, allocations: 171.7 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3406, allocations: 4 kB / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3406, allocations: 0 / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3406, allocations: 0 / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.3409, allocations: 273.5 kB / 1.229 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3409, allocations: 0 / 1.229 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.3409, allocations: 11.98 kB / 1.229 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.341, allocations: 0 / 1.229 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-06/0.341, allocations: 0 / 1.229 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.341, allocations: 8.031 kB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.341, allocations: 0 / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.3413, allocations: 259.2 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.764e-05/0.3414, allocations: 112.9 kB / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3414, allocations: 4 kB / 1.229 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3415, allocations: 3.984 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.3415, allocations: 12.03 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3415, allocations: 0 / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003954/0.3419, allocations: 403 kB / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3419, allocations: 0 / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003863/0.3423, allocations: 79.88 kB / 1.229 GB, free: 4.434 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.3426, allocations: 151.1 kB / 1.23 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.343, allocations: 167.8 kB / 1.23 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.343, allocations: 0 / 1.23 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.3431, allocations: 51.97 kB / 1.23 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.3435, allocations: 25.38 kB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/0.3442, allocations: 0.5393 MB / 1.23 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.3446, allocations: 0.7788 MB / 1.231 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.353e-05/0.3446, allocations: 30.53 kB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.3447, allocations: 23.38 kB / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3447, allocations: 4 kB / 1.231 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of Templates: time 0.006245/0.3509, allocations: 2.778 MB / 1.234 GB, free: 15.83 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches