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.0009097/0.0009097, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001014/0.001014, allocations: 172.7 kB / 15.95 MB, free: 208 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.65/1.65, allocations: 223.3 MB / 240 MB, free: 5.418 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.714/2.714, allocations: 390.9 MB / 0.666 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003371, allocations: 16 kB / 0.8153 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.123, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.2297/1.353, allocations: 152.2 MB / 1.103 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01798/1.371, allocations: 8.348 MB / 1.111 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003686/1.375, allocations: 39.75 kB / 1.111 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003273/1.378, allocations: 0.5011 MB / 1.112 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005964/1.384, allocations: 1.248 MB / 1.113 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/1.388, allocations: 0.9212 MB / 1.114 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005544/1.394, allocations: 3.106 MB / 1.117 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/1.396, allocations: 0.7124 MB / 1.118 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/1.399, allocations: 0.8479 MB / 1.118 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/1.401, allocations: 0.9182 MB / 1.119 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004228/1.401, allocations: 47.98 kB / 1.119 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/1.405, allocations: 0.8343 MB / 1.12 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002997/1.405, allocations: 215 kB / 1.12 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005299/1.405, allocations: 241.1 kB / 1.121 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/1.407, allocations: 1.212 MB / 1.122 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.407, allocations: 0 / 1.122 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.465e-06/1.407, allocations: 0 / 1.122 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.27e-05/1.407, allocations: 0 / 1.122 GB, free: 3.613 MB / 0.8731 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.002565/1.41, allocations: 1.376 MB / 1.123 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.41, allocations: 8.031 kB / 1.123 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/1.41, allocations: 134.5 kB / 1.123 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/1.411, allocations: 0.8243 MB / 1.124 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/1.412, allocations: 58 kB / 1.124 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/1.412, allocations: 80 kB / 1.124 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/1.413, allocations: 0.8655 MB / 1.125 GB, free: 132 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/1.413, allocations: 11.8 kB / 1.125 GB, free: 120 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/1.413, allocations: 32 kB / 1.125 GB, free: 88 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/1.413, allocations: 23.94 kB / 1.125 GB, free: 64 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/1.415, allocations: 0.6363 MB / 1.126 GB, free: 15.42 MB / 0.8887 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.004817/1.419, allocations: 3.95 MB / 1.13 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/1.421, allocations: 0.5776 MB / 1.13 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/1.421, allocations: 290.4 kB / 1.13 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.422, allocations: 1.243 MB / 1.132 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006372/1.423, allocations: 331.1 kB / 1.132 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=63): time 3.396e-06/1.423, allocations: 0 / 1.132 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of matching and sorting (n=63): time 0.002399/1.425, allocations: 1.146 MB / 1.133 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/1.425, allocations: 89.61 kB / 1.133 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.426, allocations: 0.861 MB / 1.134 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/1.426, allocations: 41.64 kB / 1.134 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/1.427, allocations: 460.2 kB / 1.135 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/1.427, allocations: 216.8 kB / 1.135 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/1.427, allocations: 20 kB / 1.135 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.427, allocations: 326 kB / 1.135 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/1.428, allocations: 209.2 kB / 1.135 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/1.428, allocations: 308.4 kB / 1.136 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/1.429, allocations: 250.1 kB / 1.136 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.429, allocations: 0 / 1.136 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001286/1.43, allocations: 0.7173 MB / 1.136 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.43, allocations: 155.1 kB / 1.137 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/1.43, allocations: 0 / 1.137 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/1.431, allocations: 112.8 kB / 1.137 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/1.431, allocations: 119.8 kB / 1.137 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005982/1.432, allocations: 0.6538 MB / 1.138 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/1.432, allocations: 99.31 kB / 1.138 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/1.433, allocations: 28.03 kB / 1.138 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/1.433, allocations: 8 kB / 1.138 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009916/1.434, allocations: 0.5723 MB / 1.138 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.434, allocations: 7.938 kB / 1.138 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/1.434, allocations: 105.1 kB / 1.138 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/1.434, allocations: 111.8 kB / 1.138 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005979/1.435, allocations: 0.6655 MB / 1.139 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/1.436, allocations: 91.42 kB / 1.139 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/1.436, allocations: 28 kB / 1.139 GB, free: 0.9023 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.000619/1.436, allocations: 341 kB / 1.139 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/1.437, allocations: 102.8 kB / 1.14 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/1.438, allocations: 0.9458 MB / 1.141 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/1.438, allocations: 12 kB / 1.141 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.438, allocations: 0 / 1.141 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001278/1.44, allocations: 0.862 MB / 1.141 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/1.443, allocations: 1.849 MB / 1.143 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.443, allocations: 0 / 1.143 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/1.444, allocations: 107.8 kB / 1.143 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007031/1.444, allocations: 161.7 kB / 1.143 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/1.444, allocations: 15.98 kB / 1.143 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/1.446, allocations: 1.249 MB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.446, allocations: 4.078 kB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/1.448, allocations: 1.284 MB / 1.146 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006552/1.449, allocations: 271.6 kB / 1.146 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/1.449, allocations: 12 kB / 1.146 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/1.45, allocations: 63.86 kB / 1.146 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.45, allocations: 48.58 kB / 1.146 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.875e-05/1.45, allocations: 27.98 kB / 1.146 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001095/1.451, allocations: 0.6013 MB / 1.147 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.41e-07/1.451, allocations: 0 / 1.147 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002381/1.453, allocations: 0.5545 MB / 1.147 GB, free: 8.148 MB / 0.9044 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.002319/1.456, allocations: 0.6917 MB / 1.148 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002537/1.458, allocations: 0.9258 MB / 1.149 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.458, allocations: 0 / 1.149 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00093/1.459, allocations: 392.5 kB / 1.149 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/1.462, allocations: 431 kB / 1.15 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005326/1.467, allocations: 2.522 MB / 1.152 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.468, allocations: 1.069 MB / 1.153 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001189/1.469, allocations: 229 kB / 1.154 GB, free: 2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/1.47, allocations: 79.41 kB / 1.154 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of SimCode: time 1.392e-06/1.47, allocations: 0 / 1.154 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of Templates: time 0.04392/1.514, allocations: 19.33 MB / 1.173 GB, free: 14.83 MB / 0.9356 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches