Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 183.1 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.5775 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 99.8 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.0004241, allocations: 12.19 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3046, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.453/6.757, allocations: 2.195 GB / 3.095 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/6.758, allocations: 89.81 kB / 3.095 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.932/9.69, allocations: 0.7792 GB / 3.875 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.513e-06/9.69, allocations: 0 / 3.875 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001734/9.69, allocations: 29.27 kB / 3.875 GB, free: 152.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.007508/9.698, allocations: 1.763 MB / 3.876 GB, free: 152 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/9.698, allocations: 7.656 kB / 3.876 GB, free: 152 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/9.702, allocations: 429.5 kB / 3.877 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/9.705, allocations: 0.8752 MB / 3.878 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/9.705, allocations: 75.39 kB / 3.878 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005665/9.705, allocations: 105.5 kB / 3.878 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003701/9.709, allocations: 1.204 MB / 3.879 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.914e-05/9.709, allocations: 7.5 kB / 3.879 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/9.71, allocations: 38.91 kB / 3.879 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-05/9.71, allocations: 46.95 kB / 3.879 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/9.712, allocations: 1.043 MB / 3.88 GB, free: 151.5 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008951/9.721, allocations: 4.912 MB / 3.885 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/9.722, allocations: 0.913 MB / 3.886 GB, free: 148.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/9.723, allocations: 0.6782 MB / 3.886 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/9.723, allocations: 43.31 kB / 3.886 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 5.39e-06/9.723, allocations: 3.75 kB / 3.886 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=83): time 0.005532/9.729, allocations: 2.269 MB / 3.889 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/9.729, allocations: 60.25 kB / 3.889 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/9.73, allocations: 0.5584 MB / 3.889 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/9.73, allocations: 48.17 kB / 3.889 GB, free: 147 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/9.73, allocations: 458.6 kB / 3.89 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/9.731, allocations: 297.1 kB / 3.89 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/9.731, allocations: 17.06 kB / 3.89 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001705/9.731, allocations: 393.5 kB / 3.89 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/9.731, allocations: 312.4 kB / 3.891 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/9.732, allocations: 449.6 kB / 3.891 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/9.733, allocations: 378.2 kB / 3.892 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/9.733, allocations: 3.969 kB / 3.892 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001522/9.734, allocations: 0.9383 MB / 3.892 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/9.734, allocations: 7.406 kB / 3.892 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/9.734, allocations: 5 kB / 3.892 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/9.735, allocations: 72.56 kB / 3.893 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/9.735, allocations: 158.2 kB / 3.893 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004836/9.736, allocations: 0.6368 MB / 3.893 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/9.737, allocations: 92.83 kB / 3.893 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/9.737, allocations: 28.61 kB / 3.893 GB, free: 145.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006718/9.738, allocations: 309.2 kB / 3.894 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/9.738, allocations: 89.97 kB / 3.894 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/9.74, allocations: 0.9206 MB / 3.895 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/9.74, allocations: 11.64 kB / 3.895 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/9.74, allocations: 0 / 3.895 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/9.741, allocations: 0.9135 MB / 3.896 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/9.744, allocations: 2.056 MB / 3.898 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/9.744, allocations: 0 / 3.898 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009452/9.745, allocations: 204 kB / 3.898 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/9.745, allocations: 2.953 kB / 3.898 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/9.745, allocations: 20.66 kB / 3.898 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/9.745, allocations: 8.25 kB / 3.898 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/9.745, allocations: 0 / 3.898 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/9.747, allocations: 1.449 MB / 3.899 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006593/9.748, allocations: 257.6 kB / 3.899 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/9.748, allocations: 19.58 kB / 3.9 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008924/9.749, allocations: 91.39 kB / 3.9 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/9.749, allocations: 46.81 kB / 3.9 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/9.749, allocations: 26.39 kB / 3.9 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006444/9.749, allocations: 456.2 kB / 3.9 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.61e-07/9.749, allocations: 2.625 kB / 3.9 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00199/9.751, allocations: 0.5089 MB / 3.901 GB, free: 144.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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 (83): * Single equations (assignments): 83 * 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.003124/9.755, allocations: 1.996 MB / 3.903 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001694/9.756, allocations: 0.8009 MB / 3.903 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/9.756, allocations: 0 / 3.903 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005774/9.757, allocations: 424.5 kB / 3.904 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/9.76, allocations: 0.5666 MB / 3.904 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/9.764, allocations: 2.822 MB / 3.907 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/9.764, allocations: 1.148 MB / 3.908 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001322/9.766, allocations: 249.1 kB / 3.908 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/9.766, allocations: 83.47 kB / 3.908 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.172e-06/9.766, allocations: 0 / 3.908 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.06282/9.829, allocations: 42.11 MB / 3.95 GB, free: 127.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_OneRoom.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches