Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001644/0.001643, allocations: 102.9 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.001763/0.001763, allocations: 191 kB / 17.29 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.405/1.405, 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 9.1.2-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 63.92 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2966, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002759/0.2994, allocations: 1.443 MB / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.3008, allocations: 0.8305 MB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.3009, allocations: 0 / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.3011, allocations: 119.8 kB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.3013, allocations: 75.83 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.302, allocations: 183.5 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.3021, allocations: 63.86 kB / 0.9537 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.3022, allocations: 4 kB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.67e-05/0.3022, allocations: 43.88 kB / 0.9538 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.3023, allocations: 75.86 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3024, allocations: 11.94 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.3027, allocations: 223.7 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3029, allocations: 63.83 kB / 0.9542 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.303, allocations: 55.47 kB / 0.9542 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.3033, allocations: 271.2 kB / 0.9545 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.3034, allocations: 4 kB / 0.9545 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3034, allocations: 0 / 0.9545 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3034, allocations: 3.938 kB / 0.9545 GB, free: 4.586 MB / 0.7325 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.0007207/0.3041, allocations: 0.5021 MB / 0.955 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3041, allocations: 12.03 kB / 0.955 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.3042, allocations: 20.66 kB / 0.955 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.3045, allocations: 263.7 kB / 0.9552 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3045, allocations: 384 / 0.9552 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.3045, allocations: 4.125 kB / 0.9552 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3047, allocations: 77.66 kB / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.3047, allocations: 0 / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3047, allocations: 0 / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3047, allocations: 0 / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.3049, allocations: 91.92 kB / 0.9554 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.3055, allocations: 400.6 kB / 0.9558 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.3057, allocations: 90.53 kB / 0.9559 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.723e-05/0.3058, allocations: 56.81 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/0.3058, allocations: 15.98 kB / 0.9559 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3059, allocations: 34.56 kB / 0.956 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.3059, allocations: 0 / 0.956 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.00041/0.3063, allocations: 177.2 kB / 0.9562 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.3063, allocations: 55.53 kB / 0.9562 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.3067, allocations: 351.3 kB / 0.9565 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.3067, allocations: 25.7 kB / 0.9566 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.3068, allocations: 136 kB / 0.9567 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3068, allocations: 11.83 kB / 0.9567 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.3069, allocations: 25.72 kB / 0.9567 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.307, allocations: 342.8 kB / 0.9571 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3071, allocations: 95.94 kB / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.3073, allocations: 95.95 kB / 0.9572 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.3075, allocations: 211.8 kB / 0.9574 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3075, allocations: 0 / 0.9574 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003273/0.3079, allocations: 241.3 kB / 0.9577 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3079, allocations: 14.17 kB / 0.9577 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3079, allocations: 0 / 0.9577 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3079, allocations: 4 kB / 0.9577 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.308, allocations: 8 kB / 0.9577 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3081, allocations: 3.984 kB / 0.9577 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-05/0.3081, allocations: 23.73 kB / 0.9577 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3081, allocations: 0 / 0.9577 GB, free: 1.035 MB / 0.7325 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.0001269/0.3083, allocations: 153.2 kB / 0.9579 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.3083, allocations: 15.81 kB / 0.9579 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.3086, allocations: 146.6 kB / 0.958 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3086, allocations: 0 / 0.958 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.3086, allocations: 11.86 kB / 0.958 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3086, allocations: 0 / 0.958 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.3089, allocations: 245.5 kB / 0.9583 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3089, allocations: 3.984 kB / 0.9583 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.083e-05/0.3089, allocations: 4 kB / 0.9583 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3089, allocations: 0 / 0.9583 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.309, allocations: 4 kB / 0.9583 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.309, allocations: 4.031 kB / 0.9583 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.309, allocations: 0 / 0.9583 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3092, allocations: 231.2 kB / 0.9585 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.3093, allocations: 104.8 kB / 0.9586 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.3094, allocations: 4 kB / 0.9586 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.513e-05/0.3095, allocations: 8.016 kB / 0.9586 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.3095, allocations: 4 kB / 0.9586 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.3095, allocations: 0 / 0.9586 GB, free: 20 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002374/0.3098, allocations: 249.9 kB / 0.9589 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.084e-06/0.3098, allocations: 0 / 0.9589 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003766/0.3101, allocations: 79.91 kB / 0.9589 GB, free: 15.7 MB / 0.7481 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.0002695/0.3104, allocations: 151.1 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.3107, allocations: 163.9 kB / 0.9592 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3108, allocations: 0 / 0.9592 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.64e-05/0.3109, allocations: 43.97 kB / 0.9593 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3112, allocations: 13.69 kB / 0.9593 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.3118, allocations: 375.9 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3121, allocations: 0.739 MB / 0.9604 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.3122, allocations: 16.55 kB / 0.9604 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.3122, allocations: 15.44 kB / 0.9604 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of SimCode: time 3.7e-07/0.3122, allocations: 0 / 0.9604 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of Templates: time 0.0051/0.3173, allocations: 2.1 MB / 0.9625 GB, free: 12.03 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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]