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.00151/0.00151, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001761/0.001761, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.418/2.418, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 64.53 kB / 0.8773 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2863, allocations: 153 MB / 1.027 GB, free: 2.129 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002654/0.289, allocations: 1.447 MB / 1.028 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2902, allocations: 0.8227 MB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.2903, allocations: 0 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.2905, allocations: 135.7 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.2907, allocations: 67.83 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.2913, allocations: 179.6 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.2915, allocations: 71.73 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.2915, allocations: 4 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/0.2916, allocations: 35.94 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.2917, allocations: 79.86 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.2917, allocations: 3.938 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.2922, allocations: 231.7 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.2923, allocations: 59.83 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.2923, allocations: 59.48 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.2927, allocations: 283.1 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2927, allocations: 0 / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2927, allocations: 0 / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2927, allocations: 0 / 1.03 GB, free: 14.66 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.0006347/0.2934, allocations: 0.4982 MB / 1.031 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2934, allocations: 8.031 kB / 1.031 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.2935, allocations: 24.66 kB / 1.031 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.2937, allocations: 259.8 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.2937, allocations: 4.375 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.2937, allocations: 8.125 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2939, allocations: 73.66 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.294, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.294, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.294, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.2942, allocations: 91.86 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.2947, allocations: 400.6 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.2949, allocations: 86.53 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.44e-05/0.295, allocations: 48.88 kB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.295, allocations: 15.98 kB / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.295, allocations: 46.5 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.295, allocations: 0 / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003847/0.2954, allocations: 173.3 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.2955, allocations: 51.41 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.2958, allocations: 347.3 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2958, allocations: 33.7 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.2959, allocations: 136.2 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.2959, allocations: 11.83 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.296, allocations: 21.72 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2961, allocations: 346.7 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.2962, allocations: 95.94 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.2963, allocations: 91.95 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.2966, allocations: 219.6 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2966, allocations: 0 / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003267/0.297, allocations: 249.3 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.297, allocations: 7.984 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.297, allocations: 0 / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.297, allocations: 0 / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.2971, allocations: 8 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2971, allocations: 3.938 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.2972, allocations: 19.83 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.2972, allocations: 4 kB / 1.033 GB, free: 11.11 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.0001021/0.2973, allocations: 153.7 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.2974, allocations: 19.72 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.2976, allocations: 138.6 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2976, allocations: 0 / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2976, allocations: 8.016 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2977, allocations: 4 kB / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.2979, allocations: 237.5 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2979, allocations: 3.984 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.298, allocations: 8.094 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.298, allocations: 3.984 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.298, allocations: 0 / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.298, allocations: 0 / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.298, allocations: 0 / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.2982, allocations: 247.1 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.2983, allocations: 104.8 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.2984, allocations: 0 / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.2985, allocations: 7.984 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.2985, allocations: 0 / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2985, allocations: 4 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002108/0.2987, allocations: 249.9 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2987, allocations: 0 / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003339/0.2991, allocations: 71.98 kB / 1.035 GB, free: 9.773 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.0002737/0.2993, allocations: 163.1 kB / 1.035 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.2997, allocations: 151.9 kB / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2997, allocations: 0 / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2998, allocations: 55.89 kB / 1.035 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3, allocations: 8.656 kB / 1.035 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.3006, allocations: 368 kB / 1.035 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.3009, allocations: 0.7392 MB / 1.036 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.3009, allocations: 16.55 kB / 1.036 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.301, allocations: 11.44 kB / 1.036 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.301, allocations: 0 / 1.036 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of Templates: time 0.005038/0.306, allocations: 2.113 MB / 1.038 GB, free: 6.109 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 gbode -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]