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.0008302/0.0008302, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005098/0.005098, allocations: 170 kB / 16.26 MB, free: 6.613 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.126/2.126, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.000313, allocations: 12.27 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5591/0.5595, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.001151/0.5606, allocations: 1.154 MB / 0.9563 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.5616, allocations: 0.8342 MB / 0.9571 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.5617, allocations: 0 / 0.9571 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.5619, allocations: 145.5 kB / 0.9572 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.465e-05/0.5619, allocations: 61.67 kB / 0.9573 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.5623, allocations: 141.1 kB / 0.9574 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.976e-05/0.5624, allocations: 57.12 kB / 0.9575 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.5625, allocations: 3 kB / 0.9575 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.5625, allocations: 37.83 kB / 0.9575 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.534e-05/0.5626, allocations: 76.48 kB / 0.9576 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.5626, allocations: 1.531 kB / 0.9576 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.5629, allocations: 226.2 kB / 0.9578 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.563, allocations: 61.52 kB / 0.9579 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.563, allocations: 84.19 kB / 0.958 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.5633, allocations: 268.8 kB / 0.9582 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5633, allocations: 0 / 0.9582 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5633, allocations: 1.375 kB / 0.9582 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.5633, allocations: 0 / 0.9582 GB, free: 5.547 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.0004333/0.5637, allocations: 496.6 kB / 0.9587 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.5638, allocations: 9.312 kB / 0.9587 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.263e-05/0.5638, allocations: 31.72 kB / 0.9587 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.5638, allocations: 24.69 kB / 0.9588 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.564, allocations: 277.4 kB / 0.959 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.564, allocations: 1.312 kB / 0.959 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.564, allocations: 6.031 kB / 0.959 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.5642, allocations: 80.12 kB / 0.9591 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.5642, allocations: 7.938 kB / 0.9591 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.5642, allocations: 0 / 0.9591 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.5643, allocations: 5.594 kB / 0.9591 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.5645, allocations: 92.38 kB / 0.9592 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.5649, allocations: 399.4 kB / 0.9596 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.565, allocations: 96.59 kB / 0.9597 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.5651, allocations: 49.95 kB / 0.9597 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.5652, allocations: 21.73 kB / 0.9597 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.5652, allocations: 39.92 kB / 0.9598 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.5652, allocations: 0 / 0.9598 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003748/0.5656, allocations: 189 kB / 0.96 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.5656, allocations: 55.34 kB / 0.96 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.5659, allocations: 356.8 kB / 0.9604 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.5659, allocations: 26.86 kB / 0.9604 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.566, allocations: 139.6 kB / 0.9605 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.257e-06/0.566, allocations: 4.938 kB / 0.9605 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.566, allocations: 24.64 kB / 0.9605 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.5661, allocations: 346.8 kB / 0.9609 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.5662, allocations: 95.86 kB / 0.961 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.5663, allocations: 105.4 kB / 0.9611 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.5666, allocations: 219.5 kB / 0.9613 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5666, allocations: 0 / 0.9613 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003182/0.5669, allocations: 270.1 kB / 0.9615 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.567, allocations: 5.062 kB / 0.9615 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.567, allocations: 1.156 kB / 0.9615 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.567, allocations: 0 / 0.9615 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.5671, allocations: 12.64 kB / 0.9616 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.5671, allocations: 1 kB / 0.9616 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/0.5671, allocations: 19.39 kB / 0.9616 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.5672, allocations: 1.375 kB / 0.9616 GB, free: 3.102 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.475e-05/0.5672, allocations: 150.3 kB / 0.9617 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.5673, allocations: 19.91 kB / 0.9617 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.5675, allocations: 149 kB / 0.9619 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5675, allocations: 5 kB / 0.9619 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5676, allocations: 0 / 0.9619 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5676, allocations: 0 / 0.9619 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.5677, allocations: 247.7 kB / 0.9621 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5677, allocations: 4.969 kB / 0.9621 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.5678, allocations: 11.8 kB / 0.9621 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.5678, allocations: 1.156 kB / 0.9621 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.5678, allocations: 0 / 0.9621 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.5678, allocations: 1.031 kB / 0.9621 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5678, allocations: 4 kB / 0.9621 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.5681, allocations: 245.4 kB / 0.9624 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.5681, allocations: 99.05 kB / 0.9625 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.5682, allocations: 5.094 kB / 0.9625 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.5682, allocations: 10.05 kB / 0.9625 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.5683, allocations: 1.344 kB / 0.9625 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.5683, allocations: 1.344 kB / 0.9625 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001854/0.5685, allocations: 252.3 kB / 0.9627 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5685, allocations: 0 / 0.9627 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002994/0.5688, allocations: 71.92 kB / 0.9628 GB, free: 2.191 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.0005253/0.5693, allocations: 0.829 MB / 0.9636 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.5696, allocations: 171 kB / 0.9638 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5696, allocations: 0 / 0.9638 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.5697, allocations: 59.19 kB / 0.9638 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.57, allocations: 16.22 kB / 0.9638 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.5724, allocations: 2.769 MB / 0.9665 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.5727, allocations: 0.739 MB / 0.9673 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.196e-05/0.5728, allocations: 19.56 kB / 0.9673 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.5729, allocations: 53.67 kB / 0.9673 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5729, allocations: 0 / 0.9673 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.5908, allocations: 3.942 MB / 0.9712 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.591, allocations: 213 kB / 0.9714 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.213, allocations: 0 / 0.9714 GB, free: 12.71 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