Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 99.39 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.001437/0.001437, 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.315/1.315, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.582/0.5824, allocations: 142.3 MB / 0.9535 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1464/0.7288, allocations: 141.7 MB / 1.092 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01147/0.7403, allocations: 7.682 MB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.7417, allocations: 35.75 kB / 1.099 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.7435, allocations: 0.591 MB / 1.1 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003976/0.7474, allocations: 1.519 MB / 1.101 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.7507, allocations: 1.232 MB / 1.103 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002404/0.7531, allocations: 1.639 MB / 1.104 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009335/0.754, allocations: 0.7163 MB / 1.105 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.7551, allocations: 0.7591 MB / 1.106 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008376/0.756, allocations: 0.6848 MB / 1.106 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.7561, allocations: 40 kB / 1.106 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.758, allocations: 0.866 MB / 1.107 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.7582, allocations: 211.1 kB / 1.107 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.7585, allocations: 241.1 kB / 1.108 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.7597, allocations: 1.208 MB / 1.109 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.7597, allocations: 0 / 1.109 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7597, allocations: 3.984 kB / 1.109 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.7598, allocations: 4 kB / 1.109 GB, free: 0.6992 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002299/0.7621, allocations: 1.365 MB / 1.11 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.7621, allocations: 16.02 kB / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.7624, allocations: 134.4 kB / 1.11 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.7636, allocations: 0.7854 MB / 1.111 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.7636, allocations: 58 kB / 1.111 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.7637, allocations: 80 kB / 1.111 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.7651, allocations: 0.8577 MB / 1.112 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.7651, allocations: 3.953 kB / 1.112 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.7652, allocations: 36 kB / 1.112 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.7652, allocations: 20 kB / 1.112 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.7663, allocations: 0.6362 MB / 1.113 GB, free: 12.57 MB / 0.8731 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.004265/0.7706, allocations: 3.981 MB / 1.117 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.7717, allocations: 0.5784 MB / 1.117 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000906/0.7727, allocations: 1.247 MB / 1.118 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005673/0.7732, allocations: 323 kB / 1.119 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=63): time 2.174e-06/0.7732, allocations: 0 / 1.119 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63): time 0.002378/0.7756, allocations: 1.144 MB / 1.12 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.7757, allocations: 85.67 kB / 1.12 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009895/0.7767, allocations: 0.8806 MB / 1.121 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.7767, allocations: 37.7 kB / 1.121 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.7771, allocations: 460.2 kB / 1.121 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.7772, allocations: 228.8 kB / 1.121 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.7773, allocations: 8 kB / 1.121 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.7774, allocations: 326 kB / 1.122 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.7778, allocations: 217.1 kB / 1.122 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.7783, allocations: 308.4 kB / 1.122 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.7787, allocations: 246.1 kB / 1.123 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7787, allocations: 3.938 kB / 1.123 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001218/0.78, allocations: 0.7173 MB / 1.123 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002783/0.7803, allocations: 0.8713 MB / 1.124 GB, free: 192 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7803, allocations: 4 kB / 1.124 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.7808, allocations: 108.7 kB / 1.124 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.7813, allocations: 119.8 kB / 1.124 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005304/0.7818, allocations: 0.6616 MB / 1.125 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.7824, allocations: 95.42 kB / 1.125 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.7825, allocations: 27.98 kB / 1.125 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.7825, allocations: 5.406 kB / 1.125 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009868/0.7835, allocations: 0.5724 MB / 1.126 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7835, allocations: 4 kB / 1.126 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/0.784, allocations: 108.7 kB / 1.126 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.7844, allocations: 115.8 kB / 1.126 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004865/0.7849, allocations: 0.6616 MB / 1.127 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.7854, allocations: 91.39 kB / 1.127 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.7855, allocations: 24 kB / 1.127 GB, free: 13.54 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003607/0.7859, allocations: 332.9 kB / 1.127 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.786, allocations: 102.9 kB / 1.127 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.7877, allocations: 0.9535 MB / 1.128 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.7878, allocations: 8 kB / 1.128 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7878, allocations: 0 / 1.128 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/0.789, allocations: 0.8581 MB / 1.129 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.7918, allocations: 1.861 MB / 1.131 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7918, allocations: 0 / 1.131 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.7923, allocations: 104 kB / 1.131 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000618/0.7929, allocations: 157.5 kB / 1.131 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.793, allocations: 19.98 kB / 1.131 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008238/0.7938, allocations: 1.257 MB / 1.132 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7938, allocations: 0 / 1.132 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.7959, allocations: 1.307 MB / 1.133 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/0.7963, allocations: 275.6 kB / 1.134 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.7964, allocations: 19.94 kB / 1.134 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/0.797, allocations: 59.86 kB / 1.134 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.7971, allocations: 48.59 kB / 1.134 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.7972, allocations: 23.98 kB / 1.134 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007536/0.7979, allocations: 0.613 MB / 1.134 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7979, allocations: 8 kB / 1.134 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001327/0.7993, allocations: 0.5534 MB / 1.135 GB, free: 4.719 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001374/0.8007, allocations: 0.7216 MB / 1.136 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.8024, allocations: 0.9181 MB / 1.137 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8025, allocations: 0 / 1.137 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000717/0.8032, allocations: 388.5 kB / 1.137 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.8051, allocations: 418.3 kB / 1.137 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.8084, allocations: 2.528 MB / 1.14 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/0.809, allocations: 1.092 MB / 1.141 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007792/0.8098, allocations: 217.1 kB / 1.141 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.81, allocations: 79.41 kB / 1.141 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.81, allocations: 0 / 1.141 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of Templates: time 0.03028/0.8403, allocations: 19.62 MB / 1.16 GB, free: 11.11 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches