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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 177.1 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009784, allocations: 86.78 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004435, allocations: 10.31 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4018, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2089/0.6107, allocations: 150.8 MB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.6111, allocations: 83.95 kB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01291/0.624, allocations: 4.272 MB / 1.374 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.836e-06/0.6241, allocations: 0 / 1.374 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.6241, allocations: 4 kB / 1.374 GB, free: 6.875 MB / 0.8698 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.0007913/0.6249, allocations: 0.5098 MB / 1.375 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.6249, allocations: 8.031 kB / 1.375 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.625, allocations: 23.7 kB / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.6253, allocations: 246.5 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.6254, allocations: 4 kB / 1.375 GB, free: 6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.6254, allocations: 4 kB / 1.375 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.6257, allocations: 77.58 kB / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6257, allocations: 0 / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.6257, allocations: 4 kB / 1.375 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.6257, allocations: 0 / 1.375 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.6259, allocations: 87.89 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007176/0.6267, allocations: 388.7 kB / 1.376 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.6269, allocations: 86.44 kB / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.6269, allocations: 16.05 kB / 1.376 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.627, allocations: 34.56 kB / 1.376 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.627, allocations: 0 / 1.376 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004969/0.6275, allocations: 181.3 kB / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.6275, allocations: 55.44 kB / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.6279, allocations: 314.4 kB / 1.376 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.6279, allocations: 25.7 kB / 1.376 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.628, allocations: 136 kB / 1.377 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.628, allocations: 7.906 kB / 1.377 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.628, allocations: 0 / 1.377 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6282, allocations: 330.8 kB / 1.377 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.6284, allocations: 91.86 kB / 1.377 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.6285, allocations: 83.03 kB / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.6287, allocations: 83.94 kB / 1.377 GB, free: 3.918 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6287, allocations: 0 / 1.377 GB, free: 3.918 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004016/0.6291, allocations: 237.2 kB / 1.377 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.6291, allocations: 4 kB / 1.377 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.6292, allocations: 3.984 kB / 1.377 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.6292, allocations: 3.938 kB / 1.377 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.6293, allocations: 19.98 kB / 1.377 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.6293, allocations: 0 / 1.377 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.949e-05/0.6294, allocations: 23.78 kB / 1.377 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.6294, allocations: 12 kB / 1.377 GB, free: 3.613 MB / 0.8698 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.0001483/0.6296, allocations: 137.8 kB / 1.378 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.6296, allocations: 23.66 kB / 1.378 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.6301, allocations: 174.6 kB / 1.378 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.6301, allocations: 4.031 kB / 1.378 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6301, allocations: 0 / 1.378 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6301, allocations: 0 / 1.378 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.6303, allocations: 229.5 kB / 1.378 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6303, allocations: 0 / 1.378 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.6304, allocations: 19.98 kB / 1.378 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6304, allocations: 3.938 kB / 1.378 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.6304, allocations: 0 / 1.378 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6305, allocations: 4 kB / 1.378 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.6305, allocations: 0 / 1.378 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.6308, allocations: 239.1 kB / 1.378 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/0.6309, allocations: 100.9 kB / 1.378 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.6309, allocations: 4.031 kB / 1.378 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.961e-05/0.631, allocations: 12 kB / 1.378 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.6311, allocations: 7.984 kB / 1.378 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.6311, allocations: 4 kB / 1.378 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002388/0.6314, allocations: 241.9 kB / 1.379 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.8e-07/0.6314, allocations: 0 / 1.379 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004604/0.6318, allocations: 79.92 kB / 1.379 GB, free: 2.254 MB / 0.8698 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.0004254/0.6323, allocations: 178.8 kB / 1.379 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.6326, allocations: 139.9 kB / 1.379 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.6326, allocations: 0 / 1.379 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.6327, allocations: 51.91 kB / 1.379 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.6329, allocations: 21.42 kB / 1.379 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.6336, allocations: 403.2 kB / 1.379 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.634, allocations: 0.7433 MB / 1.38 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.817e-05/0.6341, allocations: 20.55 kB / 1.38 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.6341, allocations: 19.44 kB / 1.38 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/0.6341, allocations: 4 kB / 1.38 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of Templates: time 0.005577/0.6397, allocations: 1.98 MB / 1.382 GB, free: 14.65 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (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 & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches