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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005761/0.005761, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001337/0.001338, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.265/2.265, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 68.09 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7081, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.2938/1.002, allocations: 314.2 MB / 1.473 GB, free: 8.488 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02403/1.026, allocations: 18.46 MB / 1.491 GB, free: 5.992 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003641/1.03, allocations: 87.56 kB / 1.491 GB, free: 5.906 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005514/1.035, allocations: 2.238 MB / 1.493 GB, free: 3.656 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01861/1.054, allocations: 7.538 MB / 1.501 GB, free: 12.09 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.009412/1.063, allocations: 3.263 MB / 1.504 GB, free: 8.828 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01197/1.075, allocations: 9.12 MB / 1.513 GB, free: 15.68 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005099/1.08, allocations: 3.108 MB / 1.516 GB, free: 12.51 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007035/1.087, allocations: 3.388 MB / 1.519 GB, free: 9.109 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005926/1.093, allocations: 3.234 MB / 1.522 GB, free: 5.875 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001107/1.095, allocations: 404 kB / 1.523 GB, free: 5.48 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0145/1.109, allocations: 7.042 MB / 1.529 GB, free: 14.42 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002885/1.112, allocations: 1.683 MB / 1.531 GB, free: 12.73 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.005122/1.117, allocations: 2.299 MB / 1.533 GB, free: 10.43 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01588/1.133, allocations: 8.193 MB / 1.541 GB, free: 2.211 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.133, allocations: 4 kB / 1.541 GB, free: 2.207 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.843e-06/1.133, allocations: 0 / 1.541 GB, free: 2.207 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002027/1.133, allocations: 0 / 1.541 GB, free: 2.207 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.0144/1.148, allocations: 4.993 MB / 1.546 GB, free: 13.14 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.148, allocations: 8.922 kB / 1.546 GB, free: 13.14 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001057/1.149, allocations: 463.5 kB / 1.547 GB, free: 12.67 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006898/1.156, allocations: 1.006 MB / 1.548 GB, free: 11.66 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004844/1.161, allocations: 2.248 MB / 1.55 GB, free: 9.359 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/1.161, allocations: 242.4 kB / 1.55 GB, free: 9.121 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009453/1.162, allocations: 327.9 kB / 1.55 GB, free: 8.801 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008422/1.17, allocations: 4.235 MB / 1.555 GB, free: 4.48 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/1.17, allocations: 7.984 kB / 1.555 GB, free: 4.473 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005522/1.171, allocations: 139.9 kB / 1.555 GB, free: 4.336 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/1.171, allocations: 170.3 kB / 1.555 GB, free: 4.168 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.56/1.731, allocations: 4.774 MB / 1.559 GB, free: 383.9 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.0207/1.752, allocations: 14.43 MB / 1.574 GB, free: 375.1 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004825/1.757, allocations: 4.563 MB / 1.578 GB, free: 373.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00277/1.76, allocations: 2.455 MB / 1.58 GB, free: 372.1 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.761, allocations: 1.611 MB / 1.582 GB, free: 370.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/1.761, allocations: 81.05 kB / 1.582 GB, free: 370.2 MB / 1.279 GB Notification: Performance of pre-optimization done (n=392): time 6.342e-06/1.761, allocations: 0 / 1.582 GB, free: 370.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=392): time 0.007664/1.769, allocations: 5.53 MB / 1.587 GB, free: 367.6 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/1.769, allocations: 97.48 kB / 1.588 GB, free: 367.5 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/1.771, allocations: 1.68 MB / 1.589 GB, free: 366 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002212/1.771, allocations: 93.7 kB / 1.589 GB, free: 365.9 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/1.771, allocations: 1.132 MB / 1.59 GB, free: 364.8 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007772/1.772, allocations: 1.33 MB / 1.592 GB, free: 363.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007306/1.773, allocations: 0.5468 MB / 1.592 GB, free: 362.9 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.312e-05/1.773, allocations: 301.1 kB / 1.593 GB, free: 362.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/1.775, allocations: 1.568 MB / 1.594 GB, free: 361.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/1.777, allocations: 1.917 MB / 1.596 GB, free: 359.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/1.781, allocations: 3.77 MB / 1.6 GB, free: 355.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/1.781, allocations: 0 / 1.6 GB, free: 355.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005335/1.787, allocations: 4.173 MB / 1.604 GB, free: 351.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.787, allocations: 8 kB / 1.604 GB, free: 351 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.787, allocations: 8 kB / 1.604 GB, free: 351 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/1.787, allocations: 23.94 kB / 1.604 GB, free: 351 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/1.789, allocations: 0.6976 MB / 1.604 GB, free: 350.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.238e-05/1.789, allocations: 20.59 kB / 1.604 GB, free: 350.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/1.792, allocations: 261 kB / 1.605 GB, free: 350 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/1.792, allocations: 120 kB / 1.605 GB, free: 349.9 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.001173/1.793, allocations: 0.7899 MB / 1.606 GB, free: 349.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000569/1.794, allocations: 299.1 kB / 1.606 GB, free: 348.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005669/1.799, allocations: 4.43 MB / 1.61 GB, free: 344.4 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/1.799, allocations: 43.92 kB / 1.61 GB, free: 344.3 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.799, allocations: 0 / 1.61 GB, free: 344.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004196/1.804, allocations: 3.796 MB / 1.614 GB, free: 340.5 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/1.815, allocations: 8.634 MB / 1.622 GB, free: 331.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.815, allocations: 0 / 1.622 GB, free: 331.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/1.818, allocations: 0.7282 MB / 1.623 GB, free: 331.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.589e-05/1.818, allocations: 12 kB / 1.623 GB, free: 331 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/1.818, allocations: 87.97 kB / 1.623 GB, free: 331 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/1.818, allocations: 16 kB / 1.623 GB, free: 330.9 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.818, allocations: 7.938 kB / 1.623 GB, free: 330.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007381/1.825, allocations: 6.565 MB / 1.63 GB, free: 324.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.827, allocations: 0.8011 MB / 1.63 GB, free: 323.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006061/1.828, allocations: 72 kB / 1.63 GB, free: 323.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/1.83, allocations: 81.09 kB / 1.631 GB, free: 323.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000439/1.83, allocations: 242.5 kB / 1.631 GB, free: 323.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002352/1.83, allocations: 112 kB / 1.631 GB, free: 323 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001589/1.832, allocations: 1.153 MB / 1.632 GB, free: 321.8 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.81e-07/1.832, allocations: 4 kB / 1.632 GB, free: 321.8 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002651/1.835, allocations: 1.228 MB / 1.633 GB, free: 320.6 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.008926/1.844, allocations: 7.493 MB / 1.641 GB, free: 313.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.005198/1.849, allocations: 3.946 MB / 1.644 GB, free: 309.1 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.849, allocations: 3.938 kB / 1.644 GB, free: 309.1 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002624/1.851, allocations: 2.152 MB / 1.646 GB, free: 306.9 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007057/1.859, allocations: 1.598 MB / 1.648 GB, free: 305.5 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03678/1.895, allocations: 25.69 MB / 1.673 GB, free: 279.6 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/1.897, allocations: 2.205 MB / 1.675 GB, free: 277.3 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003938/1.901, allocations: 1.204 MB / 1.676 GB, free: 276.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/1.903, allocations: 1.39 MB / 1.678 GB, free: 274.7 MB / 1.279 GB Notification: Performance of SimCode: time 5.51e-07/1.903, allocations: 0 / 1.678 GB, free: 274.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/2.012, allocations: 85.55 MB / 1.761 GB, free: 189.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/15.56, allocations: 14.8 kB / 1.761 GB, free: 189.9 MB / 1.279 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > 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