Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001499/0.001499, allocations: 104.2 kB / 15.98 MB, free: 6.355 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.001461/0.001461, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.539/1.539, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 469.8 MB / 0.7427 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.001981, allocations: 63.91 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4158, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.232/1.648, allocations: 310.6 MB / 1.367 GB, free: 2.121 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03458/1.682, allocations: 18.39 MB / 1.385 GB, free: 15.7 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006553/1.689, allocations: 75.56 kB / 1.385 GB, free: 15.62 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.008327/1.697, allocations: 1.932 MB / 1.387 GB, free: 13.68 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.02741/1.725, allocations: 6.895 MB / 1.394 GB, free: 6.766 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01297/1.738, allocations: 2.957 MB / 1.397 GB, free: 3.812 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01972/1.758, allocations: 9.107 MB / 1.406 GB, free: 10.68 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008033/1.766, allocations: 3.045 MB / 1.409 GB, free: 7.578 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01161/1.777, allocations: 3.356 MB / 1.412 GB, free: 4.211 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/1.788, allocations: 3.438 MB / 1.415 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001798/1.79, allocations: 404 kB / 1.416 GB, free: 388 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02228/1.813, allocations: 7.29 MB / 1.423 GB, free: 9.07 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004081/1.817, allocations: 1.703 MB / 1.425 GB, free: 7.363 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.006063/1.823, allocations: 2.299 MB / 1.427 GB, free: 5.055 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0148/1.838, allocations: 6.046 MB / 1.433 GB, free: 15 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/1.838, allocations: 0 / 1.433 GB, free: 15 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.316e-06/1.838, allocations: 0 / 1.433 GB, free: 15 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002796/1.838, allocations: 0 / 1.433 GB, free: 15 MB / 1.154 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.0215/1.86, allocations: 4.993 MB / 1.438 GB, free: 9.934 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.801e-05/1.86, allocations: 20.02 kB / 1.438 GB, free: 9.914 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008571/1.868, allocations: 1.006 MB / 1.439 GB, free: 8.902 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007708/1.876, allocations: 2.158 MB / 1.441 GB, free: 6.691 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004103/1.876, allocations: 250.4 kB / 1.441 GB, free: 6.445 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/1.878, allocations: 327.9 kB / 1.441 GB, free: 6.125 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/1.893, allocations: 4.235 MB / 1.445 GB, free: 1.805 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002084/1.893, allocations: 11.84 kB / 1.445 GB, free: 1.793 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/1.894, allocations: 136 kB / 1.446 GB, free: 1.66 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002806/1.894, allocations: 166.4 kB / 1.446 GB, free: 1.496 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/1.907, allocations: 4.787 MB / 1.45 GB, free: 12.7 MB / 1.17 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.03294/1.94, allocations: 14.38 MB / 1.464 GB, free: 13.35 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009495/1.949, allocations: 4.549 MB / 1.469 GB, free: 8.793 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005267/1.954, allocations: 2.452 MB / 1.471 GB, free: 6.34 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002587/1.957, allocations: 1.604 MB / 1.473 GB, free: 4.402 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/1.957, allocations: 76.17 kB / 1.473 GB, free: 4.32 MB / 1.186 GB Notification: Performance of pre-optimization done (n=392): time 7.334e-06/1.957, allocations: 0 / 1.473 GB, free: 4.32 MB / 1.186 GB Notification: Performance of matching and sorting (n=392): time 0.01459/1.972, allocations: 5.539 MB / 1.478 GB, free: 14.76 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/1.972, allocations: 94.48 kB / 1.478 GB, free: 14.65 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/1.977, allocations: 1.684 MB / 1.48 GB, free: 12.93 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0007321/1.978, allocations: 93.7 kB / 1.48 GB, free: 12.83 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.98, allocations: 1.136 MB / 1.481 GB, free: 11.68 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.002642/1.982, allocations: 1.313 MB / 1.483 GB, free: 10.35 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00205/1.984, allocations: 0.5546 MB / 1.483 GB, free: 9.785 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.985, allocations: 305.1 kB / 1.483 GB, free: 9.484 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003513/1.988, allocations: 1.564 MB / 1.485 GB, free: 7.918 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004031/1.992, allocations: 1.923 MB / 1.487 GB, free: 5.926 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007823/2, allocations: 3.754 MB / 1.49 GB, free: 2.086 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.835e-05/2, allocations: 4 kB / 1.49 GB, free: 2.082 MB / 1.201 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009801/2.01, allocations: 4.185 MB / 1.495 GB, free: 13.87 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/2.01, allocations: 12.03 kB / 1.495 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/2.01, allocations: 8 kB / 1.495 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.659e-05/2.01, allocations: 16 kB / 1.495 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003266/2.013, allocations: 0.6982 MB / 1.495 GB, free: 13.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.285e-05/2.014, allocations: 25.55 kB / 1.495 GB, free: 13.11 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004229/2.018, allocations: 468.8 kB / 1.496 GB, free: 12.65 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00039/2.018, allocations: 120 kB / 1.496 GB, free: 12.54 MB / 1.217 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.002217/2.02, allocations: 0.8099 MB / 1.497 GB, free: 11.71 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/2.022, allocations: 292.4 kB / 1.497 GB, free: 11.43 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008918/2.03, allocations: 4.437 MB / 1.501 GB, free: 6.953 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/2.031, allocations: 36 kB / 1.501 GB, free: 6.918 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/2.031, allocations: 3.938 kB / 1.501 GB, free: 6.914 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006461/2.037, allocations: 3.788 MB / 1.505 GB, free: 3.055 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01831/2.055, allocations: 8.649 MB / 1.513 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/2.055, allocations: 320 / 1.513 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003498/2.059, allocations: 0.7218 MB / 1.514 GB, free: 9.523 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.149e-05/2.059, allocations: 12 kB / 1.514 GB, free: 9.512 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003551/2.059, allocations: 87.97 kB / 1.514 GB, free: 9.426 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.074e-05/2.059, allocations: 19.94 kB / 1.514 GB, free: 9.406 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/2.059, allocations: 4 kB / 1.514 GB, free: 9.402 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/2.071, allocations: 6.566 MB / 1.521 GB, free: 2.742 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/2.074, allocations: 0.7972 MB / 1.521 GB, free: 1.922 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009456/2.075, allocations: 72 kB / 1.522 GB, free: 1.852 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0035/2.079, allocations: 267.5 kB / 1.522 GB, free: 1.59 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005371/2.079, allocations: 234.6 kB / 1.522 GB, free: 1.359 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003133/2.08, allocations: 112 kB / 1.522 GB, free: 1.25 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002546/2.082, allocations: 1.157 MB / 1.523 GB, free: 72 kB / 1.232 GB Notification: Performance of sort global known variables: time 1.893e-06/2.082, allocations: 4 kB / 1.523 GB, free: 68 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.004339/2.086, allocations: 1.228 MB / 1.524 GB, free: 14.84 MB / 1.248 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.001402/2.088, allocations: 460.2 kB / 1.525 GB, free: 14.38 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0248/2.113, allocations: 9.835 MB / 1.534 GB, free: 4.535 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/2.113, allocations: 8.062 kB / 1.534 GB, free: 4.527 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004533/2.117, allocations: 2.148 MB / 1.537 GB, free: 2.379 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009866/2.127, allocations: 1.602 MB / 1.538 GB, free: 0.8164 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/2.146, allocations: 9.353 MB / 1.547 GB, free: 7.383 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00333/2.15, allocations: 2.201 MB / 1.549 GB, free: 5.145 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002319/2.152, allocations: 311.4 kB / 1.55 GB, free: 4.84 MB / 1.264 GB Notification: Performance of SimCode: time 1.924e-06/2.152, allocations: 0 / 1.55 GB, free: 4.84 MB / 1.264 GB Notification: Performance of Templates: time 0.7909/2.943, allocations: 54.4 MB / 1.603 GB, free: 414.1 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches