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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001389/0.001388, allocations: 168.9 kB / 487.4 MB, free: 5.055 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.558/1.558, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.001049/0.001049, allocations: 91.92 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.002e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.308, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.636, allocations: 460.7 MB / 1.656 GB, free: 10.27 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.637, allocations: 97.73 kB / 1.656 GB, free: 10.22 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.565/3.201, allocations: 337 MB / 1.985 GB, free: 225.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.737e-06/3.202, allocations: 0 / 1.985 GB, free: 225.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002647/3.202, allocations: 32 kB / 1.985 GB, free: 225.2 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004062/3.206, allocations: 1.323 MB / 1.986 GB, free: 223.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/3.206, allocations: 16.02 kB / 1.986 GB, free: 223.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007797/3.207, allocations: 134.4 kB / 1.987 GB, free: 223.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/3.209, allocations: 0.9702 MB / 1.988 GB, free: 222.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/3.209, allocations: 24 kB / 1.988 GB, free: 222.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/3.21, allocations: 56.59 kB / 1.988 GB, free: 222.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001213/3.211, allocations: 0.5233 MB / 1.988 GB, free: 222 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/3.212, allocations: 0.721 MB / 1.989 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/3.212, allocations: 0 / 1.989 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/3.212, allocations: 4 kB / 1.989 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/3.212, allocations: 23.94 kB / 1.989 GB, free: 221.2 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.005177/3.218, allocations: 3.623 MB / 1.992 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008376/3.219, allocations: 0.4897 MB / 1.993 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/3.219, allocations: 254.5 kB / 1.993 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008223/3.22, allocations: 1.243 MB / 1.994 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004454/3.22, allocations: 290 kB / 1.995 GB, free: 214.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=63): time 3.827e-06/3.22, allocations: 0 / 1.995 GB, free: 214.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=63): time 0.001658/3.222, allocations: 0.6323 MB / 1.995 GB, free: 214.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/3.222, allocations: 85.67 kB / 1.995 GB, free: 214.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/3.223, allocations: 0.6451 MB / 1.996 GB, free: 213.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/3.223, allocations: 29.7 kB / 1.996 GB, free: 213.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/3.223, allocations: 471.9 kB / 1.996 GB, free: 213 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/3.224, allocations: 208.8 kB / 1.997 GB, free: 212.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/3.224, allocations: 0 / 1.997 GB, free: 212.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.008e-05/3.224, allocations: 330 kB / 1.997 GB, free: 212.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/3.224, allocations: 177.5 kB / 1.997 GB, free: 212.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/3.224, allocations: 304.4 kB / 1.997 GB, free: 211.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007881/3.225, allocations: 254 kB / 1.998 GB, free: 211.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/3.225, allocations: 0 / 1.998 GB, free: 211.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001509/3.227, allocations: 0.659 MB / 1.998 GB, free: 211 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002432/3.227, allocations: 0.8752 MB / 1.999 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/3.227, allocations: 0 / 1.999 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/3.227, allocations: 84.75 kB / 1.999 GB, free: 210 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/3.228, allocations: 123.8 kB / 1.999 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000641/3.228, allocations: 0.6887 MB / 2 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008416/3.229, allocations: 75.55 kB / 2 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/3.229, allocations: 27.98 kB / 2 GB, free: 209 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/3.229, allocations: 4 kB / 2 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/3.23, allocations: 0.5333 MB / 2.001 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/3.231, allocations: 0 / 2.001 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/3.231, allocations: 88.84 kB / 2.001 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/3.231, allocations: 115.8 kB / 2.001 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005395/3.232, allocations: 0.6772 MB / 2.001 GB, free: 207.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/3.232, allocations: 67.64 kB / 2.002 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/3.233, allocations: 27.98 kB / 2.002 GB, free: 207.5 MB / 1.151 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 () * 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.0002001/3.233, allocations: 122 kB / 2.002 GB, free: 207.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/3.233, allocations: 90.88 kB / 2.002 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/3.235, allocations: 0.8857 MB / 2.003 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/3.235, allocations: 11.98 kB / 2.003 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/3.235, allocations: 0 / 2.003 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/3.236, allocations: 0.8103 MB / 2.003 GB, free: 205.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/3.239, allocations: 1.708 MB / 2.005 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/3.239, allocations: 0 / 2.005 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/3.24, allocations: 107.9 kB / 2.005 GB, free: 203.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/3.24, allocations: 145.6 kB / 2.005 GB, free: 203.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/3.24, allocations: 11.98 kB / 2.005 GB, free: 203.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000804/3.241, allocations: 1.261 MB / 2.007 GB, free: 202.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/3.241, allocations: 3.938 kB / 2.007 GB, free: 202.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/3.243, allocations: 1.221 MB / 2.008 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/3.244, allocations: 275.6 kB / 2.008 GB, free: 200.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/3.244, allocations: 0 / 2.008 GB, free: 200.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007133/3.245, allocations: 55.8 kB / 2.008 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/3.245, allocations: 44.67 kB / 2.008 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/3.245, allocations: 31.98 kB / 2.008 GB, free: 200.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007276/3.245, allocations: 0.503 MB / 2.009 GB, free: 200 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/3.245, allocations: 4 kB / 2.009 GB, free: 199.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002203/3.248, allocations: 0.5999 MB / 2.009 GB, free: 199.3 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * 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.002189/3.25, allocations: 0.8659 MB / 2.01 GB, free: 198.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001663/3.252, allocations: 0.8624 MB / 2.011 GB, free: 197.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/3.252, allocations: 4 kB / 2.011 GB, free: 197.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005915/3.252, allocations: 344 kB / 2.011 GB, free: 197.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/3.254, allocations: 367.4 kB / 2.012 GB, free: 197 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/3.258, allocations: 1.577 MB / 2.013 GB, free: 195.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/3.258, allocations: 1.094 MB / 2.014 GB, free: 194.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001321/3.259, allocations: 274.2 kB / 2.014 GB, free: 194 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/3.26, allocations: 59.42 kB / 2.015 GB, free: 193.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.132e-06/3.26, allocations: 0 / 2.015 GB, free: 193.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03555/3.295, allocations: 20.22 MB / 2.034 GB, free: 173.9 MB / 1.151 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