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.0009332/0.0009332, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001131/0.001131, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.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.473/2.473, allocations: 390.9 MB / 0.666 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006143/0.0006145, allocations: 12 kB / 0.8154 GB, free: 13.54 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.952/0.9526, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.001536/0.9542, allocations: 1.147 MB / 0.9556 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.9555, allocations: 0.7685 MB / 0.9563 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.9555, allocations: 0 / 0.9563 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.9558, allocations: 131.6 kB / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.9559, allocations: 74.59 kB / 0.9565 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.9565, allocations: 140.4 kB / 0.9566 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.9566, allocations: 56.38 kB / 0.9567 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.9566, allocations: 2.5 kB / 0.9567 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.9567, allocations: 34.39 kB / 0.9567 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.9568, allocations: 69.53 kB / 0.9568 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.9568, allocations: 1.375 kB / 0.9568 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.9572, allocations: 202.1 kB / 0.957 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.865e-05/0.9573, allocations: 63.88 kB / 0.957 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.9573, allocations: 43.7 kB / 0.9571 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.9576, allocations: 190.8 kB / 0.9573 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.9576, allocations: 0 / 0.9573 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.335e-06/0.9576, allocations: 0 / 0.9573 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.9576, allocations: 1.156 kB / 0.9573 GB, free: 5.668 MB / 0.7169 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.0005994/0.9583, allocations: 0.4929 MB / 0.9577 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.9583, allocations: 8.969 kB / 0.9578 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.9584, allocations: 23.77 kB / 0.9578 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.9586, allocations: 260.6 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.9586, allocations: 1.375 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.9587, allocations: 1.375 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.9589, allocations: 88.08 kB / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9589, allocations: 0 / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.9589, allocations: 0 / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.9589, allocations: 1.375 kB / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.9591, allocations: 100.8 kB / 0.9582 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.9597, allocations: 396.1 kB / 0.9586 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.9599, allocations: 99.62 kB / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.9601, allocations: 49.92 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.34e-05/0.9601, allocations: 17.23 kB / 0.9587 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.9602, allocations: 36.06 kB / 0.9588 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.9602, allocations: 0 / 0.9588 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005177/0.9607, allocations: 199.9 kB / 0.959 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.9607, allocations: 52.28 kB / 0.959 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.9612, allocations: 354.6 kB / 0.9594 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.9612, allocations: 27.08 kB / 0.9594 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.9613, allocations: 139 kB / 0.9595 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.9613, allocations: 5.281 kB / 0.9595 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.9613, allocations: 0 / 0.9595 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.9614, allocations: 339.1 kB / 0.9598 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.9616, allocations: 104.8 kB / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.9618, allocations: 96.7 kB / 0.96 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.9619, allocations: 106.8 kB / 0.9601 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.962, allocations: 4 kB / 0.9601 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004308/0.9624, allocations: 265.2 kB / 0.9604 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.9624, allocations: 7.312 kB / 0.9604 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.9624, allocations: 3.938 kB / 0.9604 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.9625, allocations: 9.266 kB / 0.9604 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.9626, allocations: 11.97 kB / 0.9604 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.9626, allocations: 3.984 kB / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.9627, allocations: 15.97 kB / 0.9604 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.9627, allocations: 1 kB / 0.9605 GB, free: 3.332 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.9628, allocations: 150.5 kB / 0.9606 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.9629, allocations: 20.03 kB / 0.9606 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.9632, allocations: 153.3 kB / 0.9608 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.9632, allocations: 0 / 0.9608 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.9632, allocations: 5.172 kB / 0.9608 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.9633, allocations: 0 / 0.9608 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.9635, allocations: 239.1 kB / 0.961 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.9635, allocations: 5.031 kB / 0.961 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.9636, allocations: 8.625 kB / 0.961 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.9636, allocations: 0 / 0.961 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.9636, allocations: 1.469 kB / 0.961 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9636, allocations: 3.984 kB / 0.961 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9636, allocations: 0 / 0.961 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.9639, allocations: 248.6 kB / 0.9612 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/0.964, allocations: 104.1 kB / 0.9613 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.964, allocations: 5.156 kB / 0.9614 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.9641, allocations: 9.578 kB / 0.9614 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.9642, allocations: 1.812 kB / 0.9614 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.9642, allocations: 5.031 kB / 0.9614 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002945/0.9645, allocations: 258.2 kB / 0.9616 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9645, allocations: 0 / 0.9616 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004613/0.965, allocations: 60.22 kB / 0.9617 GB, free: 2.422 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003401/0.9653, allocations: 161.2 kB / 0.9618 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.9657, allocations: 172.6 kB / 0.962 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.9658, allocations: 0 / 0.962 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.9659, allocations: 55.06 kB / 0.962 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.9662, allocations: 11.19 kB / 0.9621 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.9669, allocations: 407.9 kB / 0.9624 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.9672, allocations: 0.7368 MB / 0.9632 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.102e-05/0.9672, allocations: 20.92 kB / 0.9632 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.9672, allocations: 12.31 kB / 0.9632 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9673, allocations: 0 / 0.9632 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of Templates: time 0.005191/0.9725, allocations: 1.948 MB / 0.9651 GB, free: 252 kB / 0.7169 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 -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/jenkins/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]