Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001719, allocations: 113.1 kB / 16.41 MB, free: 6.492 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.001714/0.001714, allocations: 183 kB / 17.34 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 67.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9725/0.9741, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3159/1.29, allocations: 314.2 MB / 1.474 GB, free: 8.516 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02844/1.318, allocations: 18.44 MB / 1.492 GB, free: 6.035 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004943/1.323, allocations: 91.5 kB / 1.492 GB, free: 5.945 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006265/1.33, allocations: 2.242 MB / 1.494 GB, free: 3.691 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.02078/1.351, allocations: 7.537 MB / 1.502 GB, free: 12.12 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.009444/1.36, allocations: 3.26 MB / 1.505 GB, free: 8.867 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01298/1.373, allocations: 9.11 MB / 1.514 GB, free: 15.73 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004973/1.378, allocations: 3.115 MB / 1.517 GB, free: 12.55 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007741/1.386, allocations: 3.391 MB / 1.52 GB, free: 9.145 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006934/1.393, allocations: 3.243 MB / 1.523 GB, free: 5.906 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001286/1.394, allocations: 400 kB / 1.524 GB, free: 5.516 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01587/1.41, allocations: 7.034 MB / 1.531 GB, free: 14.46 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.003162/1.413, allocations: 1.687 MB / 1.532 GB, free: 12.77 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.004533/1.418, allocations: 2.306 MB / 1.534 GB, free: 10.46 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01769/1.436, allocations: 8.189 MB / 1.542 GB, free: 2.246 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.436, allocations: 0 / 1.542 GB, free: 2.246 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.944e-06/1.436, allocations: 0 / 1.542 GB, free: 2.246 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.000191/1.436, allocations: 4 kB / 1.542 GB, free: 2.242 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01568/1.451, allocations: 4.993 MB / 1.547 GB, free: 13.18 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.452, allocations: 8.922 kB / 1.547 GB, free: 13.17 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00717/1.459, allocations: 1.014 MB / 1.548 GB, free: 12.15 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005695/1.464, allocations: 2.248 MB / 1.551 GB, free: 9.852 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/1.465, allocations: 246.4 kB / 1.551 GB, free: 9.609 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006552/1.465, allocations: 327.9 kB / 1.551 GB, free: 9.289 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007518/1.473, allocations: 4.237 MB / 1.555 GB, free: 4.969 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-05/1.473, allocations: 8 kB / 1.555 GB, free: 4.961 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/1.473, allocations: 128 kB / 1.555 GB, free: 4.836 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/1.473, allocations: 170.3 kB / 1.556 GB, free: 4.668 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.726/2.199, allocations: 4.78 MB / 1.56 GB, free: 383.8 MB / 1.279 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.02452/2.224, allocations: 14.44 MB / 1.574 GB, free: 375.1 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/2.229, allocations: 4.545 MB / 1.579 GB, free: 373.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00285/2.232, allocations: 2.458 MB / 1.581 GB, free: 372.2 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/2.233, allocations: 1.609 MB / 1.583 GB, free: 370.4 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/2.233, allocations: 81.14 kB / 1.583 GB, free: 370.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=392): time 6.222e-06/2.233, allocations: 1.859 kB / 1.583 GB, free: 370.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=392): time 0.007745/2.241, allocations: 5.532 MB / 1.588 GB, free: 367.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/2.241, allocations: 96.75 kB / 1.588 GB, free: 367.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/2.243, allocations: 1.684 MB / 1.59 GB, free: 366.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/2.243, allocations: 93.7 kB / 1.59 GB, free: 366.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/2.244, allocations: 1.132 MB / 1.591 GB, free: 365.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008559/2.245, allocations: 1.323 MB / 1.592 GB, free: 364.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006955/2.245, allocations: 0.5468 MB / 1.593 GB, free: 363.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/2.245, allocations: 309.1 kB / 1.593 GB, free: 363.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/2.247, allocations: 1.572 MB / 1.595 GB, free: 361.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/2.25, allocations: 1.916 MB / 1.597 GB, free: 359.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/2.254, allocations: 3.77 MB / 1.6 GB, free: 355.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/2.254, allocations: 0 / 1.6 GB, free: 355.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00561/2.259, allocations: 4.177 MB / 1.604 GB, free: 351.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/2.26, allocations: 8 kB / 1.604 GB, free: 351.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/2.26, allocations: 4 kB / 1.604 GB, free: 351.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/2.26, allocations: 23.94 kB / 1.604 GB, free: 351.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/2.262, allocations: 0.6938 MB / 1.605 GB, free: 350.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.413e-05/2.262, allocations: 20 kB / 1.605 GB, free: 350.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/2.265, allocations: 257.1 kB / 1.605 GB, free: 350.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/2.265, allocations: 120 kB / 1.606 GB, free: 350.5 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.001357/2.267, allocations: 0.7974 MB / 1.606 GB, free: 349.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005315/2.267, allocations: 292.5 kB / 1.607 GB, free: 349.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005664/2.273, allocations: 4.437 MB / 1.611 GB, free: 344.9 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/2.273, allocations: 39.94 kB / 1.611 GB, free: 344.9 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/2.273, allocations: 0 / 1.611 GB, free: 344.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004212/2.277, allocations: 3.788 MB / 1.615 GB, free: 341 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/2.288, allocations: 8.633 MB / 1.623 GB, free: 332.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/2.288, allocations: 4 kB / 1.623 GB, free: 332.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002934/2.291, allocations: 0.725 MB / 1.624 GB, free: 331.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.178e-05/2.291, allocations: 16 kB / 1.624 GB, free: 331.6 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/2.292, allocations: 87.97 kB / 1.624 GB, free: 331.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/2.292, allocations: 16 kB / 1.624 GB, free: 331.5 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.292, allocations: 7.969 kB / 1.624 GB, free: 331.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007664/2.299, allocations: 6.569 MB / 1.63 GB, free: 324.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/2.301, allocations: 0.7972 MB / 1.631 GB, free: 324 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/2.302, allocations: 72 kB / 1.631 GB, free: 323.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/2.304, allocations: 81.28 kB / 1.631 GB, free: 323.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003501/2.304, allocations: 245.7 kB / 1.631 GB, free: 323.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/2.304, allocations: 112 kB / 1.632 GB, free: 323.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001285/2.305, allocations: 1.157 MB / 1.633 GB, free: 322.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.21e-07/2.305, allocations: 0 / 1.633 GB, free: 322.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002332/2.308, allocations: 1.236 MB / 1.634 GB, free: 321.1 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 392 * 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 Backend phase and start with SimCode phase: time 0.0008025/2.309, allocations: 453.6 kB / 1.634 GB, free: 320.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004763/2.313, allocations: 3.95 MB / 1.638 GB, free: 316.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/2.313, allocations: 0 / 1.638 GB, free: 316.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002263/2.316, allocations: 2.155 MB / 1.64 GB, free: 314.6 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005859/2.321, allocations: 1.599 MB / 1.642 GB, free: 313.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/2.332, allocations: 7.848 MB / 1.65 GB, free: 305.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/2.333, allocations: 2.197 MB / 1.652 GB, free: 303.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/2.335, allocations: 311.3 kB / 1.652 GB, free: 302.8 MB / 1.279 GB Notification: Performance of SimCode: time 7.51e-07/2.335, allocations: 0 / 1.652 GB, free: 302.8 MB / 1.279 GB Notification: Performance of Templates: time 0.07571/2.411, allocations: 54.81 MB / 1.706 GB, free: 248.3 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches