Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.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.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.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.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001287, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 182.3 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.833/2.833, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003824, allocations: 8.75 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3784, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.036/1.414, allocations: 230.5 MB / 1.284 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0201/1.434, allocations: 10.41 MB / 1.295 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003394/1.438, allocations: 51.25 kB / 1.295 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003683/1.441, allocations: 1.022 MB / 1.296 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/1.454, allocations: 3.444 MB / 1.299 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006981/1.461, allocations: 1.884 MB / 1.301 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0112/1.472, allocations: 6.275 MB / 1.307 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003088/1.475, allocations: 1.29 MB / 1.308 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004623/1.48, allocations: 1.329 MB / 1.31 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004336/1.484, allocations: 1.483 MB / 1.311 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003251/1.485, allocations: 76.09 kB / 1.311 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/1.495, allocations: 3.723 MB / 1.315 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001103/1.496, allocations: 0.5817 MB / 1.315 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002095/1.498, allocations: 0.958 MB / 1.316 GB, free: 17.76 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00538/1.503, allocations: 2.787 MB / 1.319 GB, free: 17.55 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.503, allocations: 0 / 1.319 GB, free: 17.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.885e-06/1.503, allocations: 0 / 1.319 GB, free: 17.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.018e-05/1.503, allocations: 1.5 kB / 1.319 GB, free: 17.55 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005801/1.509, allocations: 2.132 MB / 1.321 GB, free: 16.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.509, allocations: 12.75 kB / 1.321 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003333/1.513, allocations: 0.5261 MB / 1.322 GB, free: 16.33 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/1.515, allocations: 1.223 MB / 1.323 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.665e-05/1.515, allocations: 104.8 kB / 1.323 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/1.515, allocations: 134.7 kB / 1.323 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/1.518, allocations: 1.674 MB / 1.325 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/1.518, allocations: 7.344 kB / 1.325 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/1.518, allocations: 57.22 kB / 1.325 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.848e-05/1.518, allocations: 69.83 kB / 1.325 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/1.521, allocations: 1.457 MB / 1.326 GB, free: 15.67 MB / 1.014 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.009372/1.53, allocations: 6.979 MB / 1.333 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/1.532, allocations: 1.202 MB / 1.334 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009444/1.533, allocations: 0.6123 MB / 1.335 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009874/1.534, allocations: 0.8654 MB / 1.336 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/1.535, allocations: 0.6117 MB / 1.336 GB, free: 11.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 3.656e-06/1.535, allocations: 4.609 kB / 1.336 GB, free: 11.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.003211/1.538, allocations: 1.588 MB / 1.338 GB, free: 10.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/1.538, allocations: 92.58 kB / 1.338 GB, free: 10.78 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/1.54, allocations: 1.191 MB / 1.339 GB, free: 10.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/1.54, allocations: 46.7 kB / 1.339 GB, free: 10.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/1.541, allocations: 0.6784 MB / 1.34 GB, free: 10.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/1.541, allocations: 388.5 kB / 1.34 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.541, allocations: 82.47 kB / 1.34 GB, free: 10.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.541, allocations: 348.6 kB / 1.34 GB, free: 9.781 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006881/1.542, allocations: 423.7 kB / 1.341 GB, free: 9.777 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/1.543, allocations: 0.5631 MB / 1.341 GB, free: 9.672 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/1.544, allocations: 1.016 MB / 1.342 GB, free: 9.559 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.544, allocations: 2.969 kB / 1.342 GB, free: 9.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00207/1.547, allocations: 1.227 MB / 1.344 GB, free: 9.426 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/1.547, allocations: 169.2 kB / 1.344 GB, free: 9.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.547, allocations: 2.844 kB / 1.344 GB, free: 9.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/1.547, allocations: 9.125 kB / 1.344 GB, free: 9.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000921/1.548, allocations: 219.9 kB / 1.344 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/1.548, allocations: 5.312 kB / 1.344 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.549, allocations: 188.1 kB / 1.344 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/1.549, allocations: 38.62 kB / 1.344 GB, free: 9.184 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/1.549, allocations: 7.531 kB / 1.344 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001558/1.551, allocations: 1.041 MB / 1.345 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.551, allocations: 2.625 kB / 1.345 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/1.551, allocations: 5.844 kB / 1.345 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/1.552, allocations: 212.7 kB / 1.345 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.552, allocations: 16.3 kB / 1.345 GB, free: 9.152 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.553, allocations: 180.6 kB / 1.346 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/1.553, allocations: 35.38 kB / 1.346 GB, free: 9.094 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009653/1.554, allocations: 0.4905 MB / 1.346 GB, free: 8.895 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/1.554, allocations: 147.4 kB / 1.346 GB, free: 8.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/1.557, allocations: 1.249 MB / 1.347 GB, free: 8.727 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.557, allocations: 11.34 kB / 1.347 GB, free: 8.727 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.557, allocations: 0 / 1.347 GB, free: 8.727 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001533/1.558, allocations: 1.018 MB / 1.348 GB, free: 8.641 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004788/1.563, allocations: 3.174 MB / 1.352 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.563, allocations: 9.938 kB / 1.352 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.564, allocations: 234.5 kB / 1.352 GB, free: 8.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/1.564, allocations: 8.25 kB / 1.352 GB, free: 8.012 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/1.564, allocations: 25.47 kB / 1.352 GB, free: 8.012 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/1.564, allocations: 5.719 kB / 1.352 GB, free: 8.012 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.564, allocations: 7.688 kB / 1.352 GB, free: 8.012 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/1.567, allocations: 1.924 MB / 1.354 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007238/1.568, allocations: 362.6 kB / 1.354 GB, free: 7.352 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/1.568, allocations: 35.3 kB / 1.354 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.569, allocations: 112.9 kB / 1.354 GB, free: 7.301 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.569, allocations: 72.25 kB / 1.354 GB, free: 7.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/1.569, allocations: 40.7 kB / 1.354 GB, free: 7.273 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001083/1.57, allocations: 0.8288 MB / 1.355 GB, free: 7.035 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.57, allocations: 0 / 1.355 GB, free: 7.035 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002014/1.572, allocations: 0.8336 MB / 1.356 GB, free: 6.918 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/1.574, allocations: 0.5828 MB / 1.357 GB, free: 6.672 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002717/1.576, allocations: 1.621 MB / 1.358 GB, free: 6.469 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.576, allocations: 0 / 1.358 GB, free: 6.469 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008598/1.577, allocations: 0.5746 MB / 1.359 GB, free: 6.402 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004438/1.582, allocations: 0.8287 MB / 1.359 GB, free: 6.133 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006461/1.588, allocations: 4.228 MB / 1.364 GB, free: 3.539 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.589, allocations: 1.37 MB / 1.365 GB, free: 2.578 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/1.59, allocations: 119.6 kB / 1.365 GB, free: 2.566 MB / 1.014 GB Notification: Performance of SimCode: time 1.242e-06/1.59, allocations: 0 / 1.365 GB, free: 2.566 MB / 1.014 GB Notification: Performance of Templates: time 0.0437/1.634, allocations: 25.04 MB / 1.39 GB, free: 1.789 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches