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.001742/0.001742, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001831/0.001831, allocations: 194.3 kB / 16.25 MB, free: 6.629 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.503/1.503, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.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.814/2.814, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001944, allocations: 63.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.7495, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.079/1.828, allocations: 310.6 MB / 1.32 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03013/1.859, allocations: 18.36 MB / 1.338 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007373/1.866, allocations: 77.06 kB / 1.338 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00699/1.873, allocations: 1.94 MB / 1.34 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02274/1.896, allocations: 6.88 MB / 1.347 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009899/1.906, allocations: 2.965 MB / 1.35 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01341/1.919, allocations: 9.107 MB / 1.359 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005749/1.925, allocations: 3.04 MB / 1.361 GB, free: 16.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009383/1.934, allocations: 3.361 MB / 1.365 GB, free: 16.07 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009231/1.944, allocations: 3.433 MB / 1.368 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002072/1.946, allocations: 402.7 kB / 1.369 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01903/1.965, allocations: 7.298 MB / 1.376 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003766/1.969, allocations: 1.693 MB / 1.377 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00666/1.975, allocations: 2.299 MB / 1.38 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02524/2.001, allocations: 8.632 MB / 1.388 GB, free: 8.016 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/2.001, allocations: 6.75 kB / 1.388 GB, free: 8.012 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.104e-06/2.001, allocations: 0 / 1.388 GB, free: 8.012 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002813/2.001, allocations: 0 / 1.388 GB, free: 8.012 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.02032/2.021, allocations: 4.994 MB / 1.393 GB, free: 4.781 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/2.021, allocations: 12.23 kB / 1.393 GB, free: 4.777 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00853/2.03, allocations: 1.008 MB / 1.394 GB, free: 4.309 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007676/2.038, allocations: 2.159 MB / 1.396 GB, free: 2.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/2.038, allocations: 241.1 kB / 1.396 GB, free: 2.805 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/2.039, allocations: 339.6 kB / 1.396 GB, free: 2.688 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009597/2.049, allocations: 4.231 MB / 1.401 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.88e-05/2.049, allocations: 10.81 kB / 1.401 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003611/2.049, allocations: 135.2 kB / 1.401 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/2.05, allocations: 170.4 kB / 1.401 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009477/2.059, allocations: 4.783 MB / 1.406 GB, free: 10.42 MB / 1.029 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.02683/2.086, allocations: 14.37 MB / 1.42 GB, free: 11.37 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008156/2.094, allocations: 4.559 MB / 1.424 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005062/2.099, allocations: 2.446 MB / 1.426 GB, free: 4.375 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002212/2.102, allocations: 1.61 MB / 1.428 GB, free: 2.445 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.359e-05/2.102, allocations: 77.64 kB / 1.428 GB, free: 2.359 MB / 1.045 GB Notification: Performance of pre-optimization done (n=392): time 7.834e-06/2.102, allocations: 6.812 kB / 1.428 GB, free: 2.355 MB / 1.045 GB Notification: Performance of matching and sorting (n=392): time 0.01332/2.115, allocations: 5.539 MB / 1.434 GB, free: 12.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/2.115, allocations: 90.48 kB / 1.434 GB, free: 12.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003305/2.118, allocations: 1.684 MB / 1.435 GB, free: 10.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0006951/2.119, allocations: 93.7 kB / 1.435 GB, free: 10.87 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/2.12, allocations: 1.128 MB / 1.436 GB, free: 9.727 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.002016/2.122, allocations: 1.324 MB / 1.438 GB, free: 8.414 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001965/2.124, allocations: 0.5507 MB / 1.438 GB, free: 7.855 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001492/2.124, allocations: 304.7 kB / 1.439 GB, free: 7.559 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003182/2.128, allocations: 1.568 MB / 1.44 GB, free: 5.988 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003523/2.131, allocations: 1.912 MB / 1.442 GB, free: 4.008 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007169/2.138, allocations: 3.769 MB / 1.446 GB, free: 176 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/2.138, allocations: 0 / 1.446 GB, free: 176 kB / 1.061 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009526/2.148, allocations: 4.177 MB / 1.45 GB, free: 12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/2.148, allocations: 13.34 kB / 1.45 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/2.148, allocations: 4 kB / 1.45 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.05e-05/2.148, allocations: 20 kB / 1.45 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003519/2.152, allocations: 0.6992 MB / 1.45 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.943e-05/2.152, allocations: 22.25 kB / 1.45 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004353/2.156, allocations: 476.9 kB / 1.451 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006119/2.157, allocations: 116 kB / 1.451 GB, free: 10.71 MB / 1.076 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.002428/2.159, allocations: 0.7961 MB / 1.452 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001327/2.161, allocations: 300.5 kB / 1.452 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009887/2.17, allocations: 4.436 MB / 1.456 GB, free: 5.176 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-05/2.171, allocations: 39.98 kB / 1.456 GB, free: 5.137 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/2.171, allocations: 0 / 1.456 GB, free: 5.137 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00718/2.178, allocations: 3.795 MB / 1.46 GB, free: 1.277 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/2.198, allocations: 8.641 MB / 1.469 GB, free: 8.586 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/2.198, allocations: 4 kB / 1.469 GB, free: 8.582 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003845/2.202, allocations: 0.7225 MB / 1.469 GB, free: 7.895 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.69e-05/2.202, allocations: 16 kB / 1.469 GB, free: 7.879 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005624/2.202, allocations: 87.97 kB / 1.469 GB, free: 7.793 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.617e-05/2.202, allocations: 18.66 kB / 1.469 GB, free: 7.777 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.202, allocations: 4 kB / 1.469 GB, free: 7.773 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/2.215, allocations: 6.56 MB / 1.476 GB, free: 1.125 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002715/2.218, allocations: 0.8011 MB / 1.477 GB, free: 308 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/2.219, allocations: 72 kB / 1.477 GB, free: 236 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003911/2.223, allocations: 267.5 kB / 1.477 GB, free: 15.97 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007425/2.223, allocations: 234.7 kB / 1.477 GB, free: 15.74 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004515/2.224, allocations: 112 kB / 1.477 GB, free: 15.63 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002433/2.226, allocations: 1.157 MB / 1.478 GB, free: 14.45 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.003e-06/2.226, allocations: 0 / 1.478 GB, free: 14.45 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004971/2.231, allocations: 1.227 MB / 1.48 GB, free: 13.23 MB / 1.107 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.001499/2.233, allocations: 461.1 kB / 1.48 GB, free: 12.82 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.02453/2.257, allocations: 9.837 MB / 1.49 GB, free: 3.059 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/2.257, allocations: 0 / 1.49 GB, free: 3.059 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.004747/2.262, allocations: 2.152 MB / 1.492 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01018/2.272, allocations: 1.609 MB / 1.493 GB, free: 15.42 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/2.291, allocations: 9.171 MB / 1.502 GB, free: 6.203 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003187/2.294, allocations: 2.212 MB / 1.504 GB, free: 3.953 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.005835/2.3, allocations: 1.215 MB / 1.506 GB, free: 2.734 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/2.301, allocations: 267.4 kB / 1.506 GB, free: 2.473 MB / 1.123 GB Notification: Performance of SimCode: time 9.92e-07/2.301, allocations: 0 / 1.506 GB, free: 2.473 MB / 1.123 GB Notification: Performance of Templates: time 0.1189/2.42, allocations: 61.54 MB / 1.566 GB, free: 5.867 MB / 1.186 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches