Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.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.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001472/0.001472, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 60.59 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3662, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002816/0.3691, allocations: 1.451 MB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3704, allocations: 0.8226 MB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.3705, allocations: 0 / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.3707, allocations: 127.8 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.134e-05/0.3708, allocations: 71.81 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/0.3714, allocations: 187.5 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.3716, allocations: 59.83 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.3716, allocations: 4 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.429e-05/0.3717, allocations: 39.88 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.3718, allocations: 79.84 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.3718, allocations: 4 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.3722, allocations: 231.7 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.3723, allocations: 55.83 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.3724, allocations: 55.48 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.3727, allocations: 283.2 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3727, allocations: 4 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3727, allocations: 0 / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3728, allocations: 0 / 1.03 GB, free: 14.58 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.0006681/0.3734, allocations: 0.4996 MB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3735, allocations: 11.97 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.3735, allocations: 20.66 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3738, allocations: 251.8 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3738, allocations: 8.375 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3738, allocations: 8.125 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.374, allocations: 77.64 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3741, allocations: 3.938 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3741, allocations: 4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3741, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.3743, allocations: 83.92 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.3748, allocations: 404.6 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.375, allocations: 90.52 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.127e-05/0.3751, allocations: 44.89 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.3751, allocations: 19.98 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.3752, allocations: 34.56 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3752, allocations: 0 / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004284/0.3756, allocations: 181.2 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.3756, allocations: 55.41 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.376, allocations: 347.3 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.376, allocations: 25.7 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.3761, allocations: 148.1 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.3761, allocations: 7.844 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.3762, allocations: 29.7 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3763, allocations: 338.8 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.3764, allocations: 99.88 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3766, allocations: 95.94 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.3768, allocations: 207.7 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3768, allocations: 0 / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003221/0.3772, allocations: 253.2 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3772, allocations: 8 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3772, allocations: 0 / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3772, allocations: 0 / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.3773, allocations: 11.98 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3773, allocations: 3.984 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.3774, allocations: 15.84 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3774, allocations: 0 / 1.033 GB, free: 11.03 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001041/0.3775, allocations: 145.7 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.3776, allocations: 27.72 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.3778, allocations: 146.5 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3779, allocations: 0 / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3779, allocations: 4.031 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3779, allocations: 0 / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.3781, allocations: 245.5 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3781, allocations: 0 / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.3782, allocations: 4 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3782, allocations: 0 / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3782, allocations: 3.984 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3782, allocations: 4 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3782, allocations: 3.938 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3785, allocations: 239.1 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.3786, allocations: 96.86 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.3786, allocations: 4 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.3787, allocations: 3.984 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.3787, allocations: 7.938 kB / 1.034 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3787, allocations: 0 / 1.034 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002104/0.3789, allocations: 253.9 kB / 1.034 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.379, allocations: 0 / 1.034 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003593/0.3793, allocations: 71.98 kB / 1.035 GB, free: 9.691 MB / 0.8106 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.0002651/0.3796, allocations: 155.1 kB / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.3799, allocations: 159.9 kB / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3799, allocations: 0 / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.579e-05/0.38, allocations: 47.97 kB / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3803, allocations: 16.59 kB / 1.035 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.3809, allocations: 372 kB / 1.035 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.3811, allocations: 0.739 MB / 1.036 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.05e-05/0.3812, allocations: 16.55 kB / 1.036 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.3812, allocations: 15.44 kB / 1.036 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3812, allocations: 0 / 1.036 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of Templates: time 0.004986/0.3862, allocations: 2.103 MB / 1.038 GB, free: 6.027 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,m_flow Variables in the result:d[10],d[11],d[12],d[13],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],m_flow,ramp.duration,ramp.height,ramp.offset,ramp.startTime,table[1,1],table[1,2],table[10,1],table[10,2],table[11,1],table[11,2],table[12,1],table[12,2],table[13,1],table[13,2],table[2,1],table[2,2],table[3,1],table[3,2],table[4,1],table[4,2],table[5,1],table[5,2],table[6,1],table[6,2],table[7,1],table[7,2],table[8,1],table[8,2],table[9,1],table[9,2],time,xd[10],xd[11],xd[12],xd[13],xd[1],xd[2],xd[3],xd[4],xd[5],xd[6],xd[7],xd[8],xd[9],yd[10],yd[11],yd[12],yd[13],yd[1],yd[2],yd[3],yd[4],yd[5],yd[6],yd[7],yd[8],yd[9]