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.235/2.235, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001267/0.001267, allocations: 180.8 kB / 487.4 MB, free: 5.02 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.423/1.423, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009188/0.0009186, allocations: 87.97 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.894e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2646, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.157/5.421, allocations: 1.922 GB / 3.128 GB, free: 430 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/5.422, allocations: 90.81 kB / 3.128 GB, free: 429.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.418/7.84, allocations: 0.8055 GB / 3.934 GB, free: 42.12 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.052e-06/7.84, allocations: 3.938 kB / 3.934 GB, free: 42.12 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001146/7.84, allocations: 28 kB / 3.934 GB, free: 42.09 MB / 1.151 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.005398/7.846, allocations: 1.578 MB / 3.935 GB, free: 40.47 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/7.846, allocations: 16.02 kB / 3.935 GB, free: 40.45 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/7.849, allocations: 418 kB / 3.936 GB, free: 40.04 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/7.851, allocations: 0.8791 MB / 3.937 GB, free: 39.12 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/7.851, allocations: 28 kB / 3.937 GB, free: 39.09 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/7.851, allocations: 67.94 kB / 3.937 GB, free: 39.03 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001604/7.853, allocations: 0.8903 MB / 3.938 GB, free: 38.14 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/7.855, allocations: 1.036 MB / 3.939 GB, free: 37.06 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/7.855, allocations: 0 / 3.939 GB, free: 37.06 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/7.855, allocations: 4 kB / 3.939 GB, free: 37.05 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/7.855, allocations: 49.98 kB / 3.939 GB, free: 37 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005454/7.86, allocations: 4.827 MB / 3.943 GB, free: 31.79 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/7.862, allocations: 0.9121 MB / 3.944 GB, free: 30.83 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/7.862, allocations: 0.543 MB / 3.945 GB, free: 30.28 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/7.863, allocations: 0.6812 MB / 3.945 GB, free: 29.45 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/7.863, allocations: 43.28 kB / 3.945 GB, free: 29.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 2.404e-06/7.863, allocations: 4 kB / 3.945 GB, free: 29.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=83): time 0.004341/7.867, allocations: 2.031 MB / 3.947 GB, free: 27.31 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/7.867, allocations: 68.19 kB / 3.947 GB, free: 27.23 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/7.868, allocations: 491.7 kB / 3.948 GB, free: 26.75 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/7.868, allocations: 25.7 kB / 3.948 GB, free: 26.71 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/7.868, allocations: 455.9 kB / 3.948 GB, free: 26.26 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/7.869, allocations: 283.7 kB / 3.949 GB, free: 25.98 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/7.869, allocations: 0 / 3.949 GB, free: 25.98 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001329/7.869, allocations: 394.7 kB / 3.949 GB, free: 25.59 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/7.869, allocations: 333.5 kB / 3.949 GB, free: 25.26 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/7.87, allocations: 450.1 kB / 3.95 GB, free: 24.78 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/7.87, allocations: 412.3 kB / 3.95 GB, free: 24.38 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/7.87, allocations: 0 / 3.95 GB, free: 24.38 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001459/7.872, allocations: 0.9529 MB / 3.951 GB, free: 23.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/7.872, allocations: 8 kB / 3.951 GB, free: 23.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/7.872, allocations: 0 / 3.951 GB, free: 23.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/7.872, allocations: 61.03 kB / 3.951 GB, free: 23.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/7.873, allocations: 163.8 kB / 3.951 GB, free: 23.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004669/7.873, allocations: 0.6108 MB / 3.952 GB, free: 22.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/7.875, allocations: 99.72 kB / 3.952 GB, free: 22.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/7.875, allocations: 35.98 kB / 3.952 GB, free: 22.41 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.000196/7.875, allocations: 112.9 kB / 3.952 GB, free: 22.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/7.875, allocations: 86.97 kB / 3.952 GB, free: 22.21 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/7.877, allocations: 0.9508 MB / 3.953 GB, free: 21.25 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/7.877, allocations: 8 kB / 3.953 GB, free: 21.25 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/7.877, allocations: 0 / 3.953 GB, free: 21.25 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/7.878, allocations: 0.9613 MB / 3.954 GB, free: 20.23 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/7.882, allocations: 2.089 MB / 3.956 GB, free: 18.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/7.882, allocations: 0 / 3.956 GB, free: 18.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009505/7.882, allocations: 203.8 kB / 3.956 GB, free: 17.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.677e-05/7.883, allocations: 4 kB / 3.956 GB, free: 17.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/7.883, allocations: 11.98 kB / 3.956 GB, free: 17.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/7.883, allocations: 4 kB / 3.956 GB, free: 17.88 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/7.883, allocations: 0 / 3.956 GB, free: 17.88 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/7.884, allocations: 1.373 MB / 3.958 GB, free: 16.49 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/7.885, allocations: 264 kB / 3.958 GB, free: 16.21 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/7.885, allocations: 4 kB / 3.958 GB, free: 16.21 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/7.886, allocations: 71.77 kB / 3.958 GB, free: 16.14 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/7.886, allocations: 44.72 kB / 3.958 GB, free: 16.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/7.886, allocations: 31.97 kB / 3.958 GB, free: 16.07 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004635/7.887, allocations: 383.2 kB / 3.958 GB, free: 15.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.887, allocations: 0 / 3.958 GB, free: 15.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001669/7.888, allocations: 435.9 kB / 3.959 GB, free: 15.27 MB / 1.151 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 () * 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.003236/7.892, allocations: 2.234 MB / 3.961 GB, free: 12.93 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001344/7.893, allocations: 0.8367 MB / 3.962 GB, free: 12.09 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/7.893, allocations: 0 / 3.962 GB, free: 12.09 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005236/7.894, allocations: 446.8 kB / 3.962 GB, free: 11.66 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/7.896, allocations: 0.5066 MB / 3.963 GB, free: 11.16 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/7.9, allocations: 1.902 MB / 3.965 GB, free: 9.223 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/7.901, allocations: 1.144 MB / 3.966 GB, free: 8.055 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001236/7.902, allocations: 263.3 kB / 3.966 GB, free: 7.793 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/7.902, allocations: 87.41 kB / 3.966 GB, free: 7.707 MB / 1.151 GB Notification: Performance of SimCode: time 1.252e-06/7.902, allocations: 0 / 3.966 GB, free: 7.707 MB / 1.151 GB Notification: Performance of Templates: time 0.8214/8.724, allocations: 28.71 MB / 3.994 GB, free: 229.3 MB / 1.151 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