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.001568/0.001569, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001795/0.001795, allocations: 195.5 kB / 16.25 MB, free: 6.621 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 65.83 kB / 0.8986 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3443, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002614/0.347, allocations: 1.526 MB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3482, allocations: 0.7907 MB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.3483, allocations: 0 / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.3485, allocations: 131.7 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.349, allocations: 175.3 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.3492, allocations: 59.88 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.3493, allocations: 75.8 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.3494, allocations: 4 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.079e-05/0.3495, allocations: 47.88 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3496, allocations: 83.78 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.3496, allocations: 4 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.3499, allocations: 223.7 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.3501, allocations: 107.7 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.3502, allocations: 83.28 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.3505, allocations: 311.1 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3505, allocations: 0 / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3505, allocations: 0 / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3505, allocations: 0 / 1.056 GB, free: 5.195 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.0006947/0.3512, allocations: 0.5722 MB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.3513, allocations: 12.61 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.3514, allocations: 32.5 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.3517, allocations: 378.2 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.3518, allocations: 384 / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3518, allocations: 4.359 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.352, allocations: 89.97 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.352, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.352, allocations: 8 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.352, allocations: 3.938 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.3523, allocations: 99.92 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.3528, allocations: 468.7 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.353, allocations: 98.53 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3531, allocations: 60.89 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.3532, allocations: 27.97 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.3532, allocations: 30.56 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3532, allocations: 0 / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004541/0.3537, allocations: 209.3 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.3537, allocations: 55.39 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.3543, allocations: 0.5366 MB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.3543, allocations: 25.7 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.3544, allocations: 160 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3544, allocations: 7.891 kB / 1.059 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.3545, allocations: 37.72 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3546, allocations: 346.8 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3548, allocations: 91.97 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.3549, allocations: 95.94 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.3552, allocations: 179.1 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3552, allocations: 0 / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003899/0.3556, allocations: 273.1 kB / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3556, allocations: 8 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3557, allocations: 0 / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3557, allocations: 4 kB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.3558, allocations: 27.97 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.3559, allocations: 3.984 kB / 1.06 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.3559, allocations: 4 kB / 1.06 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.356, allocations: 8 kB / 1.06 GB, free: 1.078 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.0001444/0.3561, allocations: 175.2 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.3562, allocations: 35.56 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.3565, allocations: 163.8 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3565, allocations: 0 / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3565, allocations: 0 / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3565, allocations: 0 / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.3568, allocations: 281.4 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3568, allocations: 7.984 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.3568, allocations: 8 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3568, allocations: 4.031 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3569, allocations: 0 / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3569, allocations: 0 / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3569, allocations: 0 / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.3572, allocations: 255.1 kB / 1.06 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3573, allocations: 120.7 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.3573, allocations: 4.031 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.3574, allocations: 7.984 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3575, allocations: 4 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3575, allocations: 4 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003677/0.3579, allocations: 399 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3579, allocations: 0 / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003817/0.3582, allocations: 79.98 kB / 1.061 GB, free: 15.46 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.0002862/0.3585, allocations: 151.2 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003479/0.3589, allocations: 167.8 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3589, allocations: 0 / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.359, allocations: 51.97 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.3594, allocations: 25.5 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.3602, allocations: 0.5867 MB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3606, allocations: 0.7788 MB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.251e-05/0.3607, allocations: 34.53 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.3607, allocations: 19.38 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of SimCode: time 1.563e-06/0.3607, allocations: 0 / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of Templates: time 0.005921/0.3666, allocations: 2.715 MB / 1.065 GB, free: 10.88 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/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