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.007323/0.007323, allocations: 102.3 kB / 15.73 MB, free: 5.539 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.001585/0.001585, allocations: 190.3 kB / 16.67 MB, free: 5.477 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 71.89 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.8389, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002852/0.8418, allocations: 1.472 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.8432, allocations: 0.7791 MB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.8433, allocations: 0 / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.8435, allocations: 127.7 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007323/0.8443, allocations: 182.9 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.8446, allocations: 71.8 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.8447, allocations: 71.86 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.8448, allocations: 7.984 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.8449, allocations: 39.89 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.845, allocations: 83.78 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.845, allocations: 4 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.8455, allocations: 231.6 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.8456, allocations: 103.8 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.738e-05/0.8457, allocations: 83.22 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.8462, allocations: 323 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8462, allocations: 0 / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8462, allocations: 0 / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.8462, allocations: 0 / 1.211 GB, free: 10.06 MB / 0.9356 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.0008407/0.8471, allocations: 0.5736 MB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.8471, allocations: 8.031 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.8472, allocations: 36.56 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.8476, allocations: 378.2 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.8477, allocations: 4.375 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.8477, allocations: 4.359 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.8479, allocations: 81.98 kB / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.8479, allocations: 4 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.8479, allocations: 0 / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.8479, allocations: 0 / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.8482, allocations: 103.9 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.8488, allocations: 460.7 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.849, allocations: 106.4 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.8491, allocations: 60.88 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/0.8492, allocations: 27.98 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.8492, allocations: 30.56 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8492, allocations: 0 / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004749/0.8497, allocations: 209.2 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.8498, allocations: 51.41 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/0.8503, allocations: 0.5406 MB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.8504, allocations: 25.7 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/0.8505, allocations: 156.1 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.8505, allocations: 7.891 kB / 1.214 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.8505, allocations: 45.61 kB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.8507, allocations: 342.8 kB / 1.214 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.8508, allocations: 91.94 kB / 1.214 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.851, allocations: 99.88 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.8513, allocations: 178.1 kB / 1.215 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8513, allocations: 0 / 1.215 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003883/0.8517, allocations: 269.1 kB / 1.215 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.8517, allocations: 5.719 kB / 1.215 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8517, allocations: 0 / 1.215 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8517, allocations: 7.984 kB / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.8519, allocations: 27.98 kB / 1.215 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.8519, allocations: 0 / 1.215 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.852, allocations: 11.94 kB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.852, allocations: 4 kB / 1.215 GB, free: 5.949 MB / 0.9356 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.0001377/0.8521, allocations: 177.6 kB / 1.215 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.8522, allocations: 27.62 kB / 1.215 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.8525, allocations: 171.8 kB / 1.215 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.8525, allocations: 0 / 1.215 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8525, allocations: 0 / 1.215 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.8526, allocations: 0 / 1.215 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.8528, allocations: 281.5 kB / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8528, allocations: 0 / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.8529, allocations: 12 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.8529, allocations: 0 / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.8529, allocations: 3.984 kB / 1.216 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8529, allocations: 3.938 kB / 1.216 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8529, allocations: 4.031 kB / 1.216 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.8532, allocations: 263 kB / 1.216 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.8534, allocations: 108.7 kB / 1.216 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.8534, allocations: 3.984 kB / 1.216 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.8535, allocations: 8 kB / 1.216 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.8535, allocations: 4.031 kB / 1.216 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.8535, allocations: 7.984 kB / 1.216 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003832/0.8539, allocations: 395.1 kB / 1.216 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8539, allocations: 0 / 1.216 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003737/0.8543, allocations: 75.98 kB / 1.216 GB, free: 4.336 MB / 0.9356 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.0002955/0.8546, allocations: 155.2 kB / 1.217 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003545/0.855, allocations: 174.4 kB / 1.217 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.855, allocations: 0 / 1.217 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.8551, allocations: 47.97 kB / 1.217 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.8555, allocations: 25.5 kB / 1.217 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.8563, allocations: 0.5204 MB / 1.217 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.8566, allocations: 0.7749 MB / 1.218 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.606e-05/0.8567, allocations: 30.53 kB / 1.218 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.8567, allocations: 19.44 kB / 1.218 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.8567, allocations: 0 / 1.218 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of Templates: time 0.006633/0.8634, allocations: 2.846 MB / 1.221 GB, free: 15.69 MB / 0.9512 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