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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001136/0.001136, allocations: 100.1 kB / 15.88 MB, free: 12 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.001204/0.001204, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.327/1.327, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.67/2.67, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.53 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3403, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.004117/0.3445, allocations: 1.534 MB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.3462, allocations: 0.8141 MB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.3463, allocations: 0 / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.3467, allocations: 135.8 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006387/0.3473, allocations: 159.7 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.3476, allocations: 51.94 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.3477, allocations: 71.75 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.3478, allocations: 7.984 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.3479, allocations: 35.91 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3481, allocations: 79.84 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3481, allocations: 0 / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.3485, allocations: 219.7 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3487, allocations: 103.7 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.743e-05/0.3488, allocations: 75.3 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.3492, allocations: 223.7 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3492, allocations: 4 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3492, allocations: 0 / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.3492, allocations: 0 / 1.056 GB, free: 4.777 MB / 0.8106 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.0008781/0.3501, allocations: 0.5683 MB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3502, allocations: 15.97 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.017e-05/0.3503, allocations: 28.56 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.3507, allocations: 374.3 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3507, allocations: 4.375 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.3507, allocations: 384 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3509, allocations: 85.97 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.351, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.351, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.351, allocations: 4 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.3512, allocations: 103.9 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.3518, allocations: 464.7 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.352, allocations: 102.5 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3522, allocations: 60.88 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.487e-05/0.3522, allocations: 19.98 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.3523, allocations: 38.56 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.3523, allocations: 3.938 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004738/0.3527, allocations: 213.2 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3528, allocations: 55.53 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005749/0.3534, allocations: 0.5289 MB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3534, allocations: 29.64 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3535, allocations: 160 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.3536, allocations: 19.83 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.3536, allocations: 37.7 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3538, allocations: 342.8 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.354, allocations: 95.94 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.3541, allocations: 98.47 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.3544, allocations: 176.7 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3544, allocations: 0 / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004136/0.3548, allocations: 269.1 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3548, allocations: 4 kB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3549, allocations: 4 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3549, allocations: 3.984 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.355, allocations: 31.98 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.355, allocations: 0 / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.3551, allocations: 4 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3551, allocations: 4 kB / 1.06 GB, free: 0.6602 MB / 0.8106 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.000163/0.3553, allocations: 177.7 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.3554, allocations: 27.62 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.3557, allocations: 167.8 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3557, allocations: 4 kB / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3557, allocations: 0 / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3557, allocations: 0 / 1.06 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.356, allocations: 285.5 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3561, allocations: 0 / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.3561, allocations: 4 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3561, allocations: 0 / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3562, allocations: 12.02 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3562, allocations: 3.938 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3562, allocations: 0 / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.3565, allocations: 247.2 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3566, allocations: 112.7 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.3566, allocations: 11.92 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.3567, allocations: 8.031 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.3568, allocations: 3.984 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3568, allocations: 4 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004097/0.3572, allocations: 399.1 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3572, allocations: 0 / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003995/0.3576, allocations: 83.98 kB / 1.061 GB, free: 15.04 MB / 0.8262 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.0003293/0.358, allocations: 143.1 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.3583, allocations: 178.6 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3583, allocations: 0 / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3584, allocations: 55.91 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3588, allocations: 17.5 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008845/0.3597, allocations: 0.5746 MB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3601, allocations: 0.7673 MB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.3601, allocations: 15.44 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of SimCode: time 1.804e-06/0.3601, allocations: 0 / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.006327/0.3665, allocations: 3.334 MB / 1.066 GB, free: 9.918 MB / 0.8262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches