Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_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.007562/0.007562, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001661/0.001662, allocations: 198.4 kB / 16.68 MB, free: 5.926 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.38/2.38, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 1.054 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.678, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.2674/0.9454, allocations: 314.2 MB / 1.514 GB, free: 2.223 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02379/0.9692, allocations: 18.45 MB / 1.532 GB, free: 15.72 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003342/0.9726, allocations: 87.56 kB / 1.532 GB, free: 15.64 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004828/0.9775, allocations: 2.144 MB / 1.534 GB, free: 13.48 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01599/0.9935, allocations: 7.32 MB / 1.541 GB, free: 6.133 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007907/1.001, allocations: 3.224 MB / 1.545 GB, free: 2.91 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01083/1.012, allocations: 9.099 MB / 1.553 GB, free: 9.785 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004505/1.017, allocations: 3.104 MB / 1.556 GB, free: 6.621 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005712/1.023, allocations: 3.352 MB / 1.56 GB, free: 3.258 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005422/1.028, allocations: 3.238 MB / 1.563 GB, free: 20 kB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.6578/1.686, allocations: 401 kB / 1.563 GB, free: 16.55 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/1.7, allocations: 6.997 MB / 1.57 GB, free: 16.55 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002527/1.703, allocations: 1.679 MB / 1.572 GB, free: 16.55 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00477/1.707, allocations: 2.305 MB / 1.574 GB, free: 16.55 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01632/1.724, allocations: 8.189 MB / 1.582 GB, free: 16.33 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/1.724, allocations: 0.9062 kB / 1.582 GB, free: 16.33 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.275e-06/1.724, allocations: 0 / 1.582 GB, free: 16.33 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001434/1.724, allocations: 0.75 kB / 1.582 GB, free: 16.33 MB / 1.279 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.01355/1.737, allocations: 4.996 MB / 1.587 GB, free: 14.44 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.737, allocations: 10.78 kB / 1.587 GB, free: 14.44 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006115/1.738, allocations: 462.3 kB / 1.587 GB, free: 14.38 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006311/1.744, allocations: 1.005 MB / 1.588 GB, free: 14.17 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004234/1.749, allocations: 2.246 MB / 1.591 GB, free: 13.6 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/1.749, allocations: 250.6 kB / 1.591 GB, free: 13.59 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005048/1.749, allocations: 328.8 kB / 1.591 GB, free: 13.59 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006057/1.755, allocations: 4.238 MB / 1.595 GB, free: 13.29 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.059e-05/1.755, allocations: 3.469 kB / 1.595 GB, free: 13.29 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/1.756, allocations: 137.8 kB / 1.595 GB, free: 13.29 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/1.756, allocations: 174 kB / 1.596 GB, free: 13.29 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006512/1.762, allocations: 4.773 MB / 1.6 GB, free: 13.25 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.01891/1.781, allocations: 14.45 MB / 1.614 GB, free: 22.84 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005668/1.787, allocations: 4.545 MB / 1.619 GB, free: 22.7 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003127/1.79, allocations: 2.453 MB / 1.621 GB, free: 22.66 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/1.792, allocations: 1.609 MB / 1.623 GB, free: 20.97 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/1.792, allocations: 80.95 kB / 1.623 GB, free: 20.93 MB / 1.295 GB Notification: Performance of pre-optimization done (n=392): time 5.02e-06/1.792, allocations: 0 / 1.623 GB, free: 20.93 MB / 1.295 GB Notification: Performance of matching and sorting (n=392): time 0.008661/1.801, allocations: 5.535 MB / 1.628 GB, free: 20.64 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/1.801, allocations: 96.02 kB / 1.628 GB, free: 20.58 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/1.803, allocations: 1.684 MB / 1.63 GB, free: 20.36 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003033/1.804, allocations: 95.3 kB / 1.63 GB, free: 20.33 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006661/1.804, allocations: 1.14 MB / 1.631 GB, free: 19.9 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.805, allocations: 1.311 MB / 1.632 GB, free: 19.04 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009305/1.806, allocations: 0.5514 MB / 1.633 GB, free: 19.01 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/1.806, allocations: 308.3 kB / 1.633 GB, free: 18.71 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/1.809, allocations: 1.566 MB / 1.635 GB, free: 18.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/1.811, allocations: 1.91 MB / 1.637 GB, free: 18.49 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005071/1.816, allocations: 3.767 MB / 1.64 GB, free: 18.24 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/1.816, allocations: 5.5 kB / 1.64 GB, free: 18.24 MB / 1.295 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006346/1.823, allocations: 4.175 MB / 1.644 GB, free: 17.97 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/1.823, allocations: 11.91 kB / 1.644 GB, free: 17.97 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/1.823, allocations: 6.469 kB / 1.644 GB, free: 17.97 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.768e-05/1.823, allocations: 18.97 kB / 1.644 GB, free: 17.97 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/1.826, allocations: 0.6933 MB / 1.645 GB, free: 17.97 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.686e-05/1.826, allocations: 25.7 kB / 1.645 GB, free: 17.97 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/1.829, allocations: 261 kB / 1.645 GB, free: 17.82 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004191/1.829, allocations: 119 kB / 1.645 GB, free: 17.82 MB / 1.295 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.002007/1.831, allocations: 0.7918 MB / 1.646 GB, free: 17.71 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.832, allocations: 293.7 kB / 1.647 GB, free: 17.56 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007154/1.839, allocations: 4.432 MB / 1.651 GB, free: 17.36 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/1.839, allocations: 41.89 kB / 1.651 GB, free: 17.36 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/1.839, allocations: 0 / 1.651 GB, free: 17.36 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004965/1.844, allocations: 3.797 MB / 1.655 GB, free: 17.02 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/1.858, allocations: 8.641 MB / 1.663 GB, free: 16.23 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.858, allocations: 3.375 kB / 1.663 GB, free: 16.23 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003027/1.861, allocations: 0.721 MB / 1.664 GB, free: 16.23 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.68e-05/1.861, allocations: 16.2 kB / 1.664 GB, free: 16.23 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000296/1.861, allocations: 87.78 kB / 1.664 GB, free: 16.23 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.849e-05/1.861, allocations: 19.19 kB / 1.664 GB, free: 16.22 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.861, allocations: 6.625 kB / 1.664 GB, free: 16.22 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008584/1.87, allocations: 6.571 MB / 1.67 GB, free: 15.67 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.872, allocations: 0.7958 MB / 1.671 GB, free: 15.37 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006501/1.872, allocations: 76 kB / 1.671 GB, free: 15.37 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.875, allocations: 84.67 kB / 1.671 GB, free: 15.37 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004131/1.875, allocations: 236.4 kB / 1.671 GB, free: 15.36 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.875, allocations: 114.1 kB / 1.672 GB, free: 15.36 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00179/1.877, allocations: 1.156 MB / 1.673 GB, free: 15.22 MB / 1.295 GB Notification: Performance of sort global known variables: time 4.31e-07/1.877, allocations: 0.7812 kB / 1.673 GB, free: 15.22 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003605/1.881, allocations: 1.228 MB / 1.674 GB, free: 15.1 MB / 1.295 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.009936/1.891, allocations: 7.488 MB / 1.681 GB, free: 14 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005451/1.896, allocations: 3.952 MB / 1.685 GB, free: 13.92 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/1.896, allocations: 3.688 kB / 1.685 GB, free: 13.92 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002479/1.899, allocations: 2.151 MB / 1.687 GB, free: 13.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007121/1.906, allocations: 1.598 MB / 1.689 GB, free: 13.34 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04635/1.952, allocations: 26.24 MB / 1.714 GB, free: 8.676 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/1.955, allocations: 2.205 MB / 1.716 GB, free: 6.434 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.004055/1.959, allocations: 1.212 MB / 1.718 GB, free: 5.215 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002253/1.961, allocations: 1.386 MB / 1.719 GB, free: 3.828 MB / 1.311 GB Notification: Performance of SimCode: time 7.42e-07/1.961, allocations: 0 / 1.719 GB, free: 3.828 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8475/2.808, allocations: 87 MB / 1.804 GB, free: 13.94 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/16.11, allocations: 19.86 kB / 1.804 GB, free: 13.92 MB / 1.404 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches