Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001387/0.001387, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001799/0.001799, allocations: 177.3 kB / 15.94 MB, free: 228 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.472/1.472, allocations: 223.2 MB / 239.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.616/2.616, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.0003181, allocations: 11.98 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7606, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.001632/0.7623, allocations: 1.146 MB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.7635, allocations: 0.7613 MB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.7636, allocations: 4 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.7638, allocations: 131.7 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.764, allocations: 75.81 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.7645, allocations: 138.9 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.195e-05/0.7646, allocations: 43.94 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.7646, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.121e-05/0.7647, allocations: 43.88 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.7648, allocations: 59.86 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.7648, allocations: 4 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.7651, allocations: 211.7 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.717e-05/0.7652, allocations: 67.8 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.7653, allocations: 41.58 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.7655, allocations: 197.7 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.7655, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7655, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.7655, allocations: 0 / 1.024 GB, free: 14.18 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.0005905/0.7661, allocations: 0.4904 MB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.7662, allocations: 11.98 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.7662, allocations: 19.72 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.7665, allocations: 246.6 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.7665, allocations: 8 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.7665, allocations: 0 / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.7667, allocations: 89.55 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.7667, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.7667, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7668, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.767, allocations: 99.92 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.7675, allocations: 396.7 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.7677, allocations: 102.5 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.7678, allocations: 23.98 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.7678, allocations: 30.56 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7678, allocations: 0 / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004592/0.7683, allocations: 197.3 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.7683, allocations: 51.41 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.7687, allocations: 351.2 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.7687, allocations: 29.83 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.7688, allocations: 144 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.7688, allocations: 3.906 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.7688, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.769, allocations: 334.8 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.7691, allocations: 103.9 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.7693, allocations: 103.9 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.7695, allocations: 106.2 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7695, allocations: 0 / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003625/0.7699, allocations: 273.2 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7699, allocations: 4 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7699, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.7699, allocations: 3.984 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.77, allocations: 11.98 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.77, allocations: 4 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.7701, allocations: 19.83 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.7701, allocations: 4 kB / 1.027 GB, free: 10.77 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.0001164/0.7702, allocations: 141.8 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.7703, allocations: 23.67 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.7706, allocations: 158.5 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.7706, allocations: 0 / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7706, allocations: 0 / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.7706, allocations: 0 / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.7708, allocations: 237.6 kB / 1.027 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.7709, allocations: 4 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-05/0.7709, allocations: 15.98 kB / 1.027 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.771, allocations: 3.953 kB / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.771, allocations: 0 / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.771, allocations: 4.031 kB / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.771, allocations: 0 / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.7713, allocations: 251.1 kB / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.7714, allocations: 100.8 kB / 1.028 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.7714, allocations: 11.94 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/0.7715, allocations: 4 kB / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.7716, allocations: 0 / 1.028 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.7716, allocations: 7.984 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002218/0.7718, allocations: 245.9 kB / 1.028 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7718, allocations: 0 / 1.028 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003779/0.7722, allocations: 75.98 kB / 1.028 GB, free: 9.406 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.0002617/0.7725, allocations: 147.2 kB / 1.028 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.7728, allocations: 171.9 kB / 1.028 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7728, allocations: 0 / 1.028 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.7729, allocations: 55.89 kB / 1.028 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.7732, allocations: 16.59 kB / 1.028 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.7738, allocations: 402.5 kB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.7742, allocations: 0.747 MB / 1.029 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.705e-05/0.7742, allocations: 16.55 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.7743, allocations: 11.44 kB / 1.03 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of SimCode: time 6.92e-07/0.7743, allocations: 0 / 1.03 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of Templates: time 0.004991/0.7793, allocations: 2.069 MB / 1.032 GB, free: 5.73 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches