Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.246/2.246, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001121/0.001121, allocations: 180.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0009853/0.0009853, allocations: 91.89 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.923e-05/3.958e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3063, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.574, allocations: 462.2 MB / 1.67 GB, free: 4.129 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/1.574, allocations: 91.95 kB / 1.67 GB, free: 4.039 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 1.444/3.018, allocations: 339.1 MB / 2.001 GB, free: 127 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.684e-06/3.018, allocations: 3.938 kB / 2.001 GB, free: 127 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001994/3.019, allocations: 36.14 kB / 2.001 GB, free: 127 MB / 1.135 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.004038/3.023, allocations: 1.315 MB / 2.003 GB, free: 125.6 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/3.023, allocations: 12.03 kB / 2.003 GB, free: 125.6 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007291/3.023, allocations: 134.5 kB / 2.003 GB, free: 125.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/3.026, allocations: 0.9852 MB / 2.004 GB, free: 124.4 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.397e-05/3.026, allocations: 62 kB / 2.004 GB, free: 124.4 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/3.027, allocations: 76 kB / 2.004 GB, free: 124.3 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/3.028, allocations: 0.8266 MB / 2.005 GB, free: 123.4 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/3.028, allocations: 0 / 2.005 GB, free: 123.4 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/3.028, allocations: 32 kB / 2.005 GB, free: 123.4 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/3.028, allocations: 23.98 kB / 2.005 GB, free: 123.4 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/3.029, allocations: 0.5778 MB / 2.005 GB, free: 122.8 MB / 1.135 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.005582/3.035, allocations: 3.785 MB / 2.009 GB, free: 118.8 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/3.036, allocations: 0.5213 MB / 2.01 GB, free: 118.3 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/3.036, allocations: 270.5 kB / 2.01 GB, free: 118 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008585/3.037, allocations: 1.247 MB / 2.011 GB, free: 116.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/3.038, allocations: 307.1 kB / 2.011 GB, free: 116.2 MB / 1.135 GB Notification: Performance of pre-optimization done (n=63): time 4.458e-06/3.038, allocations: 96 / 2.011 GB, free: 116.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=63): time 0.001283/3.039, allocations: 0.6362 MB / 2.012 GB, free: 115.5 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/3.039, allocations: 85.67 kB / 2.012 GB, free: 115.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/3.041, allocations: 0.7629 MB / 2.013 GB, free: 114.6 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-05/3.041, allocations: 45.7 kB / 2.013 GB, free: 114.6 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/3.041, allocations: 460.2 kB / 2.013 GB, free: 114.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/3.041, allocations: 220.8 kB / 2.013 GB, free: 113.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/3.041, allocations: 12 kB / 2.013 GB, free: 113.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001179/3.041, allocations: 333.9 kB / 2.014 GB, free: 113.5 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/3.042, allocations: 185.5 kB / 2.014 GB, free: 113.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/3.042, allocations: 325.9 kB / 2.014 GB, free: 113 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/3.043, allocations: 235.3 kB / 2.014 GB, free: 112.8 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/3.043, allocations: 0 / 2.014 GB, free: 112.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001226/3.044, allocations: 0.6783 MB / 2.015 GB, free: 112.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.000249/3.044, allocations: 0.8792 MB / 2.016 GB, free: 111.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/3.044, allocations: 7.938 kB / 2.016 GB, free: 111.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/3.045, allocations: 100.8 kB / 2.016 GB, free: 111 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/3.045, allocations: 119.8 kB / 2.016 GB, free: 110.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005116/3.046, allocations: 0.6616 MB / 2.017 GB, free: 110.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009311/3.047, allocations: 103.3 kB / 2.017 GB, free: 110.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/3.047, allocations: 27.98 kB / 2.017 GB, free: 110.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/3.047, allocations: 4 kB / 2.017 GB, free: 110.1 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008834/3.048, allocations: 0.5606 MB / 2.018 GB, free: 109.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/3.048, allocations: 0 / 2.018 GB, free: 109.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/3.048, allocations: 108.8 kB / 2.018 GB, free: 109.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/3.049, allocations: 115.8 kB / 2.018 GB, free: 109.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004224/3.049, allocations: 0.658 MB / 2.018 GB, free: 108.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/3.05, allocations: 87.55 kB / 2.018 GB, free: 108.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/3.05, allocations: 31.92 kB / 2.019 GB, free: 108.5 MB / 1.135 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.0001938/3.05, allocations: 147.3 kB / 2.019 GB, free: 108.3 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/3.05, allocations: 102.8 kB / 2.019 GB, free: 108.2 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/3.052, allocations: 0.9252 MB / 2.02 GB, free: 107.3 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/3.052, allocations: 8 kB / 2.02 GB, free: 107.3 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/3.052, allocations: 4 kB / 2.02 GB, free: 107.3 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009816/3.053, allocations: 0.8298 MB / 2.02 GB, free: 106.4 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/3.056, allocations: 1.848 MB / 2.022 GB, free: 104.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/3.056, allocations: 0 / 2.022 GB, free: 104.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/3.057, allocations: 115.9 kB / 2.022 GB, free: 104.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006268/3.057, allocations: 153.6 kB / 2.023 GB, free: 104.2 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/3.057, allocations: 19.98 kB / 2.023 GB, free: 104.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007507/3.058, allocations: 1.245 MB / 2.024 GB, free: 102.9 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/3.058, allocations: 7.984 kB / 2.024 GB, free: 102.9 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/3.06, allocations: 1.252 MB / 2.025 GB, free: 101.6 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005832/3.06, allocations: 283.5 kB / 2.025 GB, free: 101.3 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/3.061, allocations: 16 kB / 2.025 GB, free: 101.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/3.061, allocations: 59.94 kB / 2.025 GB, free: 101.2 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/3.061, allocations: 44.72 kB / 2.025 GB, free: 101.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/3.061, allocations: 31.98 kB / 2.025 GB, free: 101.2 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0009214/3.062, allocations: 0.6015 MB / 2.026 GB, free: 100.5 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.71e-07/3.062, allocations: 0 / 2.026 GB, free: 100.5 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002275/3.065, allocations: 0.6283 MB / 2.027 GB, free: 99.91 MB / 1.135 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.002598/3.067, allocations: 0.8913 MB / 2.027 GB, free: 99.14 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002109/3.069, allocations: 0.9261 MB / 2.028 GB, free: 98.21 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/3.069, allocations: 4 kB / 2.028 GB, free: 98.21 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0007469/3.07, allocations: 368.3 kB / 2.029 GB, free: 97.86 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/3.072, allocations: 423.2 kB / 2.029 GB, free: 97.45 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/3.076, allocations: 1.624 MB / 2.031 GB, free: 95.79 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/3.077, allocations: 1.094 MB / 2.032 GB, free: 94.66 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001568/3.078, allocations: 290.9 kB / 2.032 GB, free: 94.38 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/3.079, allocations: 71.41 kB / 2.032 GB, free: 94.3 MB / 1.135 GB Notification: Performance of SimCode: time 1.753e-06/3.079, allocations: 4 kB / 2.032 GB, free: 94.3 MB / 1.135 GB Notification: Performance of Templates: time 0.04753/3.126, allocations: 24.66 MB / 2.056 GB, free: 69.82 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches