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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001182/0.001182, allocations: 196.5 kB / 16.14 MB, free: 6.703 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.202/1.202, allocations: 222.9 MB / 239.8 MB, free: 4.562 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.095/2.095, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5404/0.5416, allocations: 140.4 MB / 0.949 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.001985/0.5436, allocations: 1.493 MB / 0.9505 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.5446, allocations: 0.8491 MB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.5446, allocations: 3.938 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.5448, allocations: 134.6 kB / 0.9515 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.159e-05/0.5449, allocations: 72.88 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.5453, allocations: 134.7 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.25e-05/0.5454, allocations: 66.83 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.5454, allocations: 10.41 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.066e-05/0.5455, allocations: 38.89 kB / 0.9518 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.727e-05/0.5456, allocations: 80.25 kB / 0.9518 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.5456, allocations: 1.406 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.5459, allocations: 213.6 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.5459, allocations: 61.2 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.546, allocations: 54.7 kB / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.5462, allocations: 269.3 kB / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.5462, allocations: 0 / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.12e-07/0.5462, allocations: 5.812 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.715e-06/0.5462, allocations: 0 / 0.9524 GB, free: 6.727 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.0004069/0.5467, allocations: 0.5124 MB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5467, allocations: 8.938 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.286e-05/0.5467, allocations: 31.94 kB / 0.953 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.5468, allocations: 17.56 kB / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.5469, allocations: 261.8 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.5469, allocations: 384 / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.547, allocations: 6.438 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.5471, allocations: 83.14 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.5471, allocations: 3.938 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.5471, allocations: 0 / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5471, allocations: 1.344 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.5473, allocations: 87.11 kB / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.5477, allocations: 398 kB / 0.9538 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.5479, allocations: 87.64 kB / 0.9539 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.412e-05/0.548, allocations: 49.58 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.548, allocations: 17.64 kB / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.061e-05/0.548, allocations: 34.5 kB / 0.954 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.548, allocations: 5.312 kB / 0.954 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003544/0.5484, allocations: 174 kB / 0.9541 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.551e-05/0.5484, allocations: 51.41 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.5487, allocations: 357.4 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.5487, allocations: 25.7 kB / 0.9546 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.5488, allocations: 144.8 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.678e-06/0.5488, allocations: 7.094 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.5488, allocations: 26.17 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.5488, allocations: 336.2 kB / 0.955 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.549, allocations: 96.72 kB / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.5491, allocations: 105.5 kB / 0.9552 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.5494, allocations: 202.8 kB / 0.9554 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5494, allocations: 0 / 0.9554 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002876/0.5497, allocations: 258.9 kB / 0.9557 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.5497, allocations: 4.812 kB / 0.9557 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5497, allocations: 0 / 0.9557 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.5497, allocations: 1.5 kB / 0.9557 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.5498, allocations: 10.05 kB / 0.9557 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.5498, allocations: 0 / 0.9557 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.5498, allocations: 17.47 kB / 0.9557 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.5499, allocations: 1.375 kB / 0.9557 GB, free: 4.285 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/0.5499, allocations: 150.2 kB / 0.9559 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.55, allocations: 19.56 kB / 0.9559 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.5502, allocations: 146.9 kB / 0.956 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5502, allocations: 1.781 kB / 0.956 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5502, allocations: 4 kB / 0.956 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5502, allocations: 4.031 kB / 0.956 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.5504, allocations: 243.2 kB / 0.9563 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5504, allocations: 0 / 0.9563 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.5505, allocations: 6.938 kB / 0.9563 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.5505, allocations: 0 / 0.9563 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.5505, allocations: 4.828 kB / 0.9563 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5505, allocations: 1.094 kB / 0.9563 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.5505, allocations: 0 / 0.9563 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.5507, allocations: 238.4 kB / 0.9565 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.5508, allocations: 103.8 kB / 0.9566 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.5508, allocations: 1.375 kB / 0.9566 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.5509, allocations: 8.109 kB / 0.9566 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.5509, allocations: 1.375 kB / 0.9566 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.5509, allocations: 0 / 0.9566 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000169/0.5511, allocations: 253.1 kB / 0.9568 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5511, allocations: 4.031 kB / 0.9568 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002963/0.5514, allocations: 68.19 kB / 0.9569 GB, free: 3.371 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 (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.0005137/0.5519, allocations: 0.8175 MB / 0.9577 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.5522, allocations: 158.5 kB / 0.9579 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.5522, allocations: 0.75 kB / 0.9579 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.519e-05/0.5523, allocations: 45.69 kB / 0.9579 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.5526, allocations: 20.78 kB / 0.9579 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.5548, allocations: 2.735 MB / 0.9606 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.5549, allocations: 0.7435 MB / 0.9613 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.555, allocations: 12.36 kB / 0.9613 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.555, allocations: 56.69 kB / 0.9614 GB, free: 16 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.555, allocations: 0 / 0.9614 GB, free: 16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.397/1.952, allocations: 4.042 MB / 0.9653 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/1.952, allocations: 220.1 kB / 0.9655 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/3.487, allocations: 0 / 0.9655 GB, free: 13.82 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.fmu > 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:dp,m_flow,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