Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001091/0.001091, allocations: 98.56 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.0009205/0.0009204, allocations: 188.2 kB / 16.92 MB, free: 6.75 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.574/1.574, 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 10.1.0-maint.10.0.x/package.mo): time 2.985/2.985, allocations: 437.8 MB / 0.7128 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004773, allocations: 8 kB / 0.8735 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.071, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.241/1.312, allocations: 163 MB / 1.183 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01544/1.328, allocations: 8.826 MB / 1.192 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/1.33, allocations: 31.81 kB / 1.192 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002381/1.333, allocations: 0.5558 MB / 1.192 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005421/1.338, allocations: 1.392 MB / 1.193 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/1.342, allocations: 1.069 MB / 1.194 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005473/1.348, allocations: 3.657 MB / 1.198 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/1.349, allocations: 0.8085 MB / 1.199 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/1.352, allocations: 0.8673 MB / 1.2 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/1.354, allocations: 0.9764 MB / 1.201 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003341/1.354, allocations: 44 kB / 1.201 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/1.357, allocations: 1.01 MB / 1.202 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004937/1.358, allocations: 218.9 kB / 1.202 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/1.359, allocations: 0.5727 MB / 1.202 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002312/1.361, allocations: 1.255 MB / 1.204 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.361, allocations: 4 kB / 1.204 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.515e-06/1.361, allocations: 0 / 1.204 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.094e-05/1.361, allocations: 0 / 1.204 GB, free: 6.922 MB / 0.9512 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.003538/1.365, allocations: 1.365 MB / 1.205 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.365, allocations: 12.03 kB / 1.205 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000561/1.366, allocations: 135.3 kB / 1.205 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/1.368, allocations: 0.852 MB / 1.206 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.667e-05/1.368, allocations: 62 kB / 1.206 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/1.368, allocations: 79.91 kB / 1.206 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/1.37, allocations: 0.8694 MB / 1.207 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/1.37, allocations: 3.938 kB / 1.207 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/1.37, allocations: 32 kB / 1.207 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/1.37, allocations: 23.94 kB / 1.207 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/1.371, allocations: 0.6441 MB / 1.208 GB, free: 2.707 MB / 0.9512 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.005695/1.377, allocations: 3.962 MB / 1.212 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/1.378, allocations: 0.5877 MB / 1.212 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/1.379, allocations: 299.9 kB / 1.212 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/1.38, allocations: 1.232 MB / 1.214 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006582/1.381, allocations: 335.1 kB / 1.214 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=63): time 3.366e-06/1.381, allocations: 0 / 1.214 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=63): time 0.002863/1.383, allocations: 1.155 MB / 1.215 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/1.384, allocations: 89.66 kB / 1.215 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/1.385, allocations: 0.8689 MB / 1.216 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/1.385, allocations: 37.7 kB / 1.216 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/1.386, allocations: 468.1 kB / 1.216 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/1.386, allocations: 220.8 kB / 1.217 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.386, allocations: 49.69 kB / 1.217 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.386, allocations: 330 kB / 1.217 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/1.387, allocations: 209.2 kB / 1.217 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/1.387, allocations: 316.4 kB / 1.218 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009911/1.388, allocations: 0.5426 MB / 1.218 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/1.388, allocations: 0 / 1.218 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001612/1.39, allocations: 0.7249 MB / 1.219 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/1.39, allocations: 151.2 kB / 1.219 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.39, allocations: 4 kB / 1.219 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007241/1.391, allocations: 116.7 kB / 1.219 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/1.391, allocations: 111.9 kB / 1.219 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007349/1.392, allocations: 0.6692 MB / 1.22 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008899/1.393, allocations: 103.3 kB / 1.22 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.785e-05/1.393, allocations: 31.98 kB / 1.22 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.393, allocations: 6.031 kB / 1.22 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/1.394, allocations: 0.5683 MB / 1.22 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.394, allocations: 4 kB / 1.22 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005057/1.395, allocations: 117 kB / 1.221 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/1.395, allocations: 111.8 kB / 1.221 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006459/1.396, allocations: 0.6655 MB / 1.221 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008202/1.397, allocations: 87.45 kB / 1.221 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/1.397, allocations: 24 kB / 1.221 GB, free: 3.742 MB / 0.9669 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 ($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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006471/1.397, allocations: 339.7 kB / 1.222 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/1.398, allocations: 98.78 kB / 1.222 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/1.4, allocations: 0.9507 MB / 1.223 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/1.4, allocations: 8 kB / 1.223 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.4, allocations: 0 / 1.223 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001556/1.401, allocations: 0.8582 MB / 1.224 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/1.405, allocations: 1.853 MB / 1.225 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.056e-06/1.405, allocations: 0 / 1.225 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/1.406, allocations: 103.9 kB / 1.226 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006907/1.407, allocations: 173.5 kB / 1.226 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/1.407, allocations: 20 kB / 1.226 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/1.408, allocations: 1.249 MB / 1.227 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.408, allocations: 4.031 kB / 1.227 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/1.41, allocations: 1.292 MB / 1.228 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005795/1.411, allocations: 275.5 kB / 1.228 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/1.411, allocations: 16 kB / 1.228 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000709/1.412, allocations: 51.95 kB / 1.229 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/1.412, allocations: 60.52 kB / 1.229 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/1.412, allocations: 24 kB / 1.229 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000996/1.413, allocations: 0.6013 MB / 1.229 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.413, allocations: 0 / 1.229 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002119/1.415, allocations: 0.5573 MB / 1.23 GB, free: 10.96 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002483/1.418, allocations: 0.707 MB / 1.23 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002361/1.42, allocations: 0.9343 MB / 1.231 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.42, allocations: 0 / 1.231 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000887/1.421, allocations: 395.6 kB / 1.232 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.424, allocations: 427.5 kB / 1.232 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/1.429, allocations: 2.629 MB / 1.235 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000827/1.429, allocations: 1.065 MB / 1.236 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/1.43, allocations: 91.34 kB / 1.236 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of SimCode: time 1.032e-06/1.43, allocations: 0 / 1.236 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of Templates: time 0.6863/2.116, allocations: 23.06 MB / 1.258 GB, free: 228.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches