Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001093/0.001093, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.001064/0.001064, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.432/2.432, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 66.25 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2677, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002731/0.2705, allocations: 1.451 MB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2718, allocations: 0.8242 MB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.2719, allocations: 0 / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.2721, allocations: 131.8 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9e-05/0.2722, allocations: 67.83 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.2729, allocations: 181 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.273, allocations: 67.86 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.2731, allocations: 0 / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.2731, allocations: 43.88 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.2732, allocations: 79.86 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2733, allocations: 0 / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.2736, allocations: 231.6 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.2737, allocations: 67.75 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.2738, allocations: 59.48 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.2742, allocations: 271.2 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2742, allocations: 0 / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2742, allocations: 7.938 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2742, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 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.0006268/0.2748, allocations: 0.4943 MB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2749, allocations: 8.922 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.2749, allocations: 20.66 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.2752, allocations: 267.7 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.2752, allocations: 384 / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.2752, allocations: 8.125 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.2754, allocations: 77.66 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.2754, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.2754, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2754, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.2756, allocations: 83.94 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.2761, allocations: 400.6 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.2763, allocations: 94.47 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.2764, allocations: 44.89 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.2765, allocations: 15.98 kB / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2765, allocations: 38.55 kB / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.2765, allocations: 4 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0004069/0.2769, allocations: 177.3 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.277, allocations: 51.41 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.2773, allocations: 347.3 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2773, allocations: 29.7 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.2774, allocations: 136 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.2774, allocations: 11.84 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.2775, allocations: 33.83 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2776, allocations: 338.8 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.2777, allocations: 95.94 kB / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2779, allocations: 91.95 kB / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.2781, allocations: 211.1 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2782, allocations: 0 / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003399/0.2785, allocations: 261.2 kB / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2785, allocations: 4 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2785, allocations: 0 / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2786, allocations: 0 / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.2786, allocations: 11.98 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2787, allocations: 0 / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.2787, allocations: 15.83 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2787, allocations: 7.938 kB / 1.025 GB, free: 2.836 MB / 0.795 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 9.879e-05/0.2788, allocations: 149.8 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.2789, allocations: 19.81 kB / 1.026 GB, free: 2.66 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.2792, allocations: 142.6 kB / 1.026 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2792, allocations: 0 / 1.026 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2792, allocations: 0 / 1.026 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2792, allocations: 3.938 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.2794, allocations: 245.6 kB / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2794, allocations: 4 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.2795, allocations: 15.98 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2795, allocations: 0 / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.2795, allocations: 0 / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2795, allocations: 0 / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2795, allocations: 0 / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.2798, allocations: 235.2 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.2799, allocations: 104.8 kB / 1.026 GB, free: 1.832 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.2799, allocations: 3.984 kB / 1.026 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.28, allocations: 4 kB / 1.026 GB, free: 1.824 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.2801, allocations: 3.984 kB / 1.026 GB, free: 1.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.2801, allocations: 4 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002166/0.2803, allocations: 249.9 kB / 1.027 GB, free: 1.57 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2803, allocations: 0 / 1.027 GB, free: 1.57 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003277/0.2806, allocations: 67.98 kB / 1.027 GB, free: 1.504 MB / 0.795 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.0002563/0.2809, allocations: 163.1 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000306/0.2812, allocations: 159.8 kB / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2812, allocations: 0 / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.2813, allocations: 43.97 kB / 1.027 GB, free: 1.137 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.2816, allocations: 12.7 kB / 1.027 GB, free: 1.125 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.2822, allocations: 371.9 kB / 1.027 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.2825, allocations: 0.7412 MB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.2825, allocations: 20.55 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.2825, allocations: 11.44 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2826, allocations: 0 / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of Templates: time 0.005047/0.2876, allocations: 2.11 MB / 1.03 GB, free: 13.83 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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]