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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="Buildings_10_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.0008835/0.0008835, allocations: 89.97 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.005489/0.005489, allocations: 174.1 kB / 16.26 MB, free: 6.336 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.326/2.326, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 12 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5509/0.5512, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.001355/0.5526, allocations: 1.161 MB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.5538, allocations: 0.8232 MB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.5538, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.554, allocations: 131.8 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.5541, allocations: 75.81 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.5546, allocations: 143.3 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.5547, allocations: 67.81 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.5547, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.5548, allocations: 35.89 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.5549, allocations: 79.84 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.5549, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.5552, allocations: 223.6 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.5553, allocations: 67.81 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.5553, allocations: 77.19 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.5556, allocations: 265.5 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5557, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5557, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.5557, allocations: 4 kB / 1.026 GB, free: 12.71 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.0005344/0.5562, allocations: 0.4906 MB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5563, allocations: 8.031 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.5563, allocations: 34.75 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.5563, allocations: 20.66 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.5565, allocations: 255.6 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.5566, allocations: 4.375 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.5566, allocations: 7.875 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.5568, allocations: 89.59 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.5568, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.5568, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5568, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.557, allocations: 95.92 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.5575, allocations: 408.8 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.5577, allocations: 94.45 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.5578, allocations: 60.89 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.5578, allocations: 15.98 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.5578, allocations: 30.56 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5578, allocations: 3.938 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004034/0.5582, allocations: 197.3 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.5583, allocations: 51.41 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.5586, allocations: 359.1 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.5586, allocations: 25.7 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.5587, allocations: 140.2 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.5587, allocations: 7.844 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.5588, allocations: 25.7 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5589, allocations: 334.8 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.559, allocations: 99.94 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.5592, allocations: 103.9 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.5595, allocations: 215.3 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5595, allocations: 0 / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003437/0.5598, allocations: 273.2 kB / 1.03 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.5599, allocations: 4 kB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5599, allocations: 0 / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.5599, allocations: 0 / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-05/0.56, allocations: 11.94 kB / 1.03 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.56, allocations: 3.984 kB / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.56, allocations: 19.84 kB / 1.03 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.5601, allocations: 4.094 kB / 1.03 GB, free: 9.051 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.5602, allocations: 146.3 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.5602, allocations: 23.7 kB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.5605, allocations: 158.6 kB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.5605, allocations: 0 / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5605, allocations: 0 / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.5605, allocations: 0 / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.5607, allocations: 241.5 kB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5607, allocations: 4 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.5608, allocations: 8 kB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5608, allocations: 0 / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.5608, allocations: 7.969 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5608, allocations: 7.922 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5608, allocations: 0 / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.5611, allocations: 239.2 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.5612, allocations: 104.8 kB / 1.03 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.5612, allocations: 7.938 kB / 1.03 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.5613, allocations: 11.98 kB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.5613, allocations: 0 / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.5613, allocations: 4 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002089/0.5616, allocations: 245.9 kB / 1.031 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5616, allocations: 0 / 1.031 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002978/0.5619, allocations: 71.95 kB / 1.031 GB, free: 7.691 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 (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.0006833/0.5626, allocations: 0.841 MB / 1.032 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.5629, allocations: 163.9 kB / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5629, allocations: 0 / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.563, allocations: 55.97 kB / 1.032 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.5633, allocations: 8.656 kB / 1.032 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.5659, allocations: 2.769 MB / 1.035 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.5662, allocations: 0.7355 MB / 1.035 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.024e-05/0.5662, allocations: 24.47 kB / 1.035 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.5663, allocations: 51.42 kB / 1.035 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5663, allocations: 4 kB / 1.035 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.5799, allocations: 3.945 MB / 1.039 GB, free: 15.12 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.5802, allocations: 210.3 kB / 1.039 GB, free: 14.87 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.248, allocations: 0 / 1.039 GB, free: 14.87 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.fmu > 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/jenkins1/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: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