Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.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.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_9_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_9_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.553/2.553, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001203/0.001203, allocations: 177.8 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.778/1.778, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009023/0.0009024, allocations: 86.59 kB / 0.9346 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004184, allocations: 10.78 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3593, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.295/5.654, allocations: 1.923 GB / 3.146 GB, free: 65.15 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/5.654, allocations: 88.34 kB / 3.146 GB, free: 65.11 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.34/8.994, allocations: 0.8147 GB / 3.961 GB, free: 156.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.184e-06/8.994, allocations: 3.938 kB / 3.961 GB, free: 156.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.78e-05/8.994, allocations: 39.98 kB / 3.961 GB, free: 156.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005627/9, allocations: 1.754 MB / 3.962 GB, free: 154.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/9, allocations: 8.031 kB / 3.962 GB, free: 154.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/9.003, allocations: 422.1 kB / 3.963 GB, free: 154.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/9.005, allocations: 0.8907 MB / 3.964 GB, free: 153.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/9.005, allocations: 70 kB / 3.964 GB, free: 153.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/9.005, allocations: 103.9 kB / 3.964 GB, free: 153.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/9.007, allocations: 1.184 MB / 3.965 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/9.007, allocations: 3.938 kB / 3.965 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/9.007, allocations: 44 kB / 3.965 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/9.007, allocations: 41.98 kB / 3.965 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/9.009, allocations: 1.05 MB / 3.966 GB, free: 150.7 MB / 1.167 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.005651/9.015, allocations: 4.899 MB / 3.971 GB, free: 145.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/9.016, allocations: 0.9443 MB / 3.972 GB, free: 144.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/9.017, allocations: 0.685 MB / 3.972 GB, free: 143.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/9.017, allocations: 39.22 kB / 3.972 GB, free: 143.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 4.368e-06/9.017, allocations: 0 / 3.972 GB, free: 143.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=83): time 0.004734/9.021, allocations: 2.304 MB / 3.975 GB, free: 141.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/9.021, allocations: 60.41 kB / 3.975 GB, free: 141.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007406/9.022, allocations: 0.5506 MB / 3.975 GB, free: 140.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/9.022, allocations: 41.7 kB / 3.975 GB, free: 140.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/9.023, allocations: 460 kB / 3.976 GB, free: 140 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/9.023, allocations: 295.7 kB / 3.976 GB, free: 139.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/9.023, allocations: 16 kB / 3.976 GB, free: 139.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001483/9.023, allocations: 390.8 kB / 3.976 GB, free: 139.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/9.023, allocations: 321.8 kB / 3.977 GB, free: 139 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/9.024, allocations: 442 kB / 3.977 GB, free: 138.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/9.024, allocations: 386.8 kB / 3.978 GB, free: 138.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/9.024, allocations: 0 / 3.978 GB, free: 138.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001462/9.026, allocations: 0.958 MB / 3.978 GB, free: 137.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/9.026, allocations: 4.938 kB / 3.978 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/9.026, allocations: 4 kB / 3.978 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/9.026, allocations: 72.7 kB / 3.979 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/9.027, allocations: 155.8 kB / 3.979 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006203/9.028, allocations: 0.6345 MB / 3.979 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/9.029, allocations: 107.8 kB / 3.979 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/9.029, allocations: 28 kB / 3.979 GB, free: 136.2 MB / 1.167 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.000748/9.03, allocations: 309.5 kB / 3.98 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/9.03, allocations: 90.97 kB / 3.98 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/9.032, allocations: 0.9249 MB / 3.981 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/9.032, allocations: 15.98 kB / 3.981 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/9.032, allocations: 0 / 3.981 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/9.033, allocations: 0.9235 MB / 3.982 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/9.036, allocations: 2.079 MB / 3.984 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/9.036, allocations: 0 / 3.984 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009019/9.037, allocations: 187.8 kB / 3.984 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/9.037, allocations: 4 kB / 3.984 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/9.037, allocations: 27.98 kB / 3.984 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/9.037, allocations: 4 kB / 3.984 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/9.037, allocations: 4 kB / 3.984 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/9.039, allocations: 1.38 MB / 3.985 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/9.039, allocations: 248 kB / 3.985 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/9.039, allocations: 16 kB / 3.985 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008319/9.04, allocations: 83.77 kB / 3.986 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/9.04, allocations: 48.94 kB / 3.986 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/9.04, allocations: 27.98 kB / 3.986 GB, free: 129.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004902/9.041, allocations: 451 kB / 3.986 GB, free: 129.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/9.041, allocations: 0 / 3.986 GB, free: 129.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00198/9.043, allocations: 0.5038 MB / 3.987 GB, free: 128.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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.003199/9.046, allocations: 2.009 MB / 3.989 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00146/9.047, allocations: 0.809 MB / 3.989 GB, free: 125.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/9.047, allocations: 0 / 3.989 GB, free: 125.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005186/9.048, allocations: 429.6 kB / 3.99 GB, free: 125.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/9.05, allocations: 0.5529 MB / 3.99 GB, free: 124.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/9.054, allocations: 2.818 MB / 3.993 GB, free: 122 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/9.055, allocations: 1.152 MB / 3.994 GB, free: 120.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00115/9.056, allocations: 259.8 kB / 3.994 GB, free: 120.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/9.056, allocations: 83.42 kB / 3.994 GB, free: 120.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.293e-06/9.056, allocations: 0 / 3.994 GB, free: 120.5 MB / 1.167 GB Notification: Performance of Templates: time 0.05776/9.114, allocations: 41.82 MB / 4.035 GB, free: 78.88 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches