Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_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.009032/0.009032, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001826/0.001826, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.74/2.74, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 59.91 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3176, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002649/0.3203, allocations: 1.472 MB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3215, allocations: 0.7756 MB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.3216, allocations: 0 / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.3218, allocations: 143.7 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.3224, allocations: 179.6 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.3225, allocations: 71.8 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.838e-05/0.3227, allocations: 67.8 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.3228, allocations: 8 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.3228, allocations: 39.89 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3229, allocations: 79.86 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.3229, allocations: 0 / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.3233, allocations: 235.6 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3234, allocations: 103.7 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/0.3235, allocations: 79.3 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.3239, allocations: 327.1 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3239, allocations: 0 / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3239, allocations: 0 / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3239, allocations: 0 / 1.211 GB, free: 6.121 MB / 0.9669 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.0007298/0.3247, allocations: 0.5718 MB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.3247, allocations: 8.625 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.3248, allocations: 28.56 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.3252, allocations: 382.3 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3252, allocations: 384 / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.3252, allocations: 8.375 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.3255, allocations: 85.97 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3255, allocations: 0 / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3255, allocations: 0 / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3255, allocations: 0 / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.3257, allocations: 99.92 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.3263, allocations: 464.7 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.3264, allocations: 114.4 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3266, allocations: 56.89 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.3266, allocations: 19.98 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3266, allocations: 30.56 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.435e-06/0.3267, allocations: 8 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000454/0.3271, allocations: 209.2 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.3272, allocations: 51.41 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005322/0.3277, allocations: 0.5365 MB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3277, allocations: 25.7 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3279, allocations: 172 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.3279, allocations: 128 / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.3279, allocations: 49.61 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3281, allocations: 338.8 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3282, allocations: 95.92 kB / 1.214 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.3284, allocations: 95.94 kB / 1.215 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.3287, allocations: 175.4 kB / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3287, allocations: 4 kB / 1.215 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003916/0.3291, allocations: 277.1 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3291, allocations: 5.875 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3291, allocations: 0 / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3292, allocations: 0 / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3293, allocations: 27.98 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3293, allocations: 0 / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.3294, allocations: 11.92 kB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3294, allocations: 12 kB / 1.215 GB, free: 2 MB / 0.9669 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.0001389/0.3296, allocations: 169.7 kB / 1.215 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.3296, allocations: 27.62 kB / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.3299, allocations: 167.8 kB / 1.215 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.33, allocations: 0 / 1.215 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.33, allocations: 0 / 1.215 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.33, allocations: 0 / 1.215 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.3302, allocations: 281.5 kB / 1.216 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3302, allocations: 4 kB / 1.216 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.3303, allocations: 7.984 kB / 1.216 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3303, allocations: 4 kB / 1.216 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3303, allocations: 0 / 1.216 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3303, allocations: 0 / 1.216 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3303, allocations: 0 / 1.216 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.3306, allocations: 263 kB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/0.3307, allocations: 116.7 kB / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3307, allocations: 0 / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.3308, allocations: 7.984 kB / 1.216 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.3309, allocations: 7.938 kB / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.3309, allocations: 0 / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003523/0.3312, allocations: 395.1 kB / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3313, allocations: 0 / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003531/0.3316, allocations: 88.02 kB / 1.216 GB, free: 404 kB / 0.9669 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.0002799/0.3319, allocations: 151.2 kB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003219/0.3322, allocations: 163.8 kB / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3322, allocations: 0 / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.3324, allocations: 55.95 kB / 1.217 GB, free: 20 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.3328, allocations: 28.59 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.3335, allocations: 0.5281 MB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.3339, allocations: 0.781 MB / 1.218 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.238e-05/0.334, allocations: 30.48 kB / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.334, allocations: 23.42 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.334, allocations: 0 / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of Templates: time 0.005839/0.3399, allocations: 2.786 MB / 1.221 GB, free: 11.8 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches