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.001097/0.001098, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001358/0.001358, allocations: 168.7 kB / 15.95 MB, free: 204 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.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.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.615/2.615, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 23.97 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6003/0.6006, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.00142/0.6021, allocations: 1.149 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.6032, allocations: 0.7652 MB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.6033, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.6035, allocations: 135.7 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.884e-05/0.6036, allocations: 67.88 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.6041, allocations: 139.5 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.6041, allocations: 59.86 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.6042, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.763e-05/0.6042, allocations: 43.88 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.6044, allocations: 59.86 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.6044, allocations: 3.938 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.6047, allocations: 211.7 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.701e-05/0.6048, allocations: 63.81 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.6048, allocations: 45.58 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.6051, allocations: 181.7 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6051, allocations: 4 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6051, allocations: 0 / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.6051, allocations: 0 / 1.025 GB, free: 13.11 MB / 0.7794 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.0005477/0.6057, allocations: 498.2 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.6057, allocations: 8.031 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.6057, allocations: 19.72 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.606, allocations: 254.6 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.606, allocations: 4 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.606, allocations: 4 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.6062, allocations: 81.61 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.6062, allocations: 3.938 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.6062, allocations: 3.984 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6062, allocations: 4 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.6064, allocations: 95.94 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.6069, allocations: 408.6 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.6071, allocations: 94.53 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.6072, allocations: 52.89 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.6073, allocations: 19.98 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.6073, allocations: 42.48 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6073, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004078/0.6077, allocations: 189.4 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.6077, allocations: 51.41 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.6081, allocations: 363.1 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.6081, allocations: 25.7 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.6082, allocations: 128.1 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.6082, allocations: 11.89 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.6082, allocations: 0 / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6084, allocations: 330.8 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.6085, allocations: 104 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.6087, allocations: 107.9 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.6088, allocations: 95.95 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6088, allocations: 11.95 kB / 1.028 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003644/0.6092, allocations: 267.6 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6092, allocations: 4 kB / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6092, allocations: 0 / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.6092, allocations: 0 / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.6093, allocations: 15.98 kB / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6093, allocations: 3.938 kB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.6094, allocations: 19.83 kB / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.6094, allocations: 4 kB / 1.028 GB, free: 9.641 MB / 0.7794 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.0001037/0.6095, allocations: 145.8 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.6096, allocations: 23.67 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.6099, allocations: 158.5 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.6099, allocations: 4 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6099, allocations: 0 / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.6099, allocations: 0 / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.6101, allocations: 237.6 kB / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.6101, allocations: 0 / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.6102, allocations: 23.97 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6102, allocations: 0 / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.6102, allocations: 3.938 kB / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6102, allocations: 0 / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6103, allocations: 0 / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.6105, allocations: 243.1 kB / 1.029 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.6106, allocations: 100.8 kB / 1.029 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.6107, allocations: 7.953 kB / 1.029 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-05/0.6107, allocations: 11.98 kB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.6108, allocations: 0 / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.6108, allocations: 0 / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002401/0.611, allocations: 257.9 kB / 1.03 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.611, allocations: 0 / 1.03 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003409/0.6114, allocations: 63.98 kB / 1.03 GB, free: 8.281 MB / 0.7794 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.0002488/0.6116, allocations: 151.2 kB / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003092/0.612, allocations: 167.9 kB / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.612, allocations: 0 / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.6121, allocations: 55.91 kB / 1.03 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.6124, allocations: 16.64 kB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.6129, allocations: 402.5 kB / 1.03 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.6132, allocations: 0.7394 MB / 1.031 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.763e-05/0.6133, allocations: 24.53 kB / 1.031 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.6133, allocations: 11.44 kB / 1.031 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.6133, allocations: 3.938 kB / 1.031 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of Templates: time 0.00468/0.618, allocations: 1.944 MB / 1.033 GB, free: 4.723 MB / 0.7794 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 -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/jenkins/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]