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.0009804/0.0009804, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001074, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.403/2.403, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5407, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7432/1.284, allocations: 314.2 MB / 1.324 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02099/1.305, allocations: 18.45 MB / 1.342 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003325/1.308, allocations: 89.12 kB / 1.342 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004133/1.313, allocations: 2.147 MB / 1.344 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01479/1.327, allocations: 7.305 MB / 1.352 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007241/1.335, allocations: 3.214 MB / 1.355 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009193/1.344, allocations: 9.101 MB / 1.364 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00364/1.347, allocations: 3.102 MB / 1.367 GB, free: 16.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005392/1.353, allocations: 3.299 MB / 1.37 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005155/1.358, allocations: 3.241 MB / 1.373 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001164/1.359, allocations: 407.5 kB / 1.373 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01365/1.373, allocations: 6.995 MB / 1.38 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002504/1.375, allocations: 1.694 MB / 1.382 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004613/1.38, allocations: 2.305 MB / 1.384 GB, free: 10.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01352/1.394, allocations: 8.132 MB / 1.392 GB, free: 6.242 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.394, allocations: 0 / 1.392 GB, free: 6.242 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/1.394, allocations: 0 / 1.392 GB, free: 6.242 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.878e-05/1.394, allocations: 0 / 1.392 GB, free: 6.242 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.01212/1.406, allocations: 4.985 MB / 1.397 GB, free: 3.016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.406, allocations: 10.81 kB / 1.397 GB, free: 3.016 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000584/1.406, allocations: 459.6 kB / 1.397 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006334/1.413, allocations: 1.01 MB / 1.398 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/1.416, allocations: 2.17 MB / 1.4 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/1.417, allocations: 243.1 kB / 1.401 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004394/1.417, allocations: 323.8 kB / 1.401 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006951/1.424, allocations: 4.24 MB / 1.405 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-05/1.424, allocations: 10.91 kB / 1.405 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/1.424, allocations: 132.8 kB / 1.405 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/1.425, allocations: 170.4 kB / 1.405 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006956/1.432, allocations: 4.779 MB / 1.41 GB, free: 7.684 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.01762/1.449, allocations: 14.53 MB / 1.424 GB, free: 8.469 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005599/1.455, allocations: 4.555 MB / 1.429 GB, free: 3.934 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003212/1.458, allocations: 2.446 MB / 1.431 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.46, allocations: 1.618 MB / 1.433 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/1.46, allocations: 77.64 kB / 1.433 GB, free: 15.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=392): time 5.139e-06/1.46, allocations: 4 kB / 1.433 GB, free: 15.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=392): time 0.008635/1.468, allocations: 5.53 MB / 1.438 GB, free: 9.906 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/1.468, allocations: 94.48 kB / 1.438 GB, free: 9.801 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/1.471, allocations: 1.684 MB / 1.44 GB, free: 8.074 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002354/1.471, allocations: 93.7 kB / 1.44 GB, free: 7.977 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000742/1.472, allocations: 1.132 MB / 1.441 GB, free: 6.832 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.473, allocations: 1.321 MB / 1.442 GB, free: 5.523 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008026/1.473, allocations: 0.5546 MB / 1.443 GB, free: 4.961 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/1.474, allocations: 301.1 kB / 1.443 GB, free: 4.664 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/1.476, allocations: 1.56 MB / 1.445 GB, free: 3.102 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/1.478, allocations: 1.918 MB / 1.447 GB, free: 1.117 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005282/1.484, allocations: 3.765 MB / 1.45 GB, free: 13.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.484, allocations: 3.938 kB / 1.45 GB, free: 13.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006422/1.49, allocations: 4.178 MB / 1.454 GB, free: 9.105 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.49, allocations: 8 kB / 1.454 GB, free: 9.098 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.49, allocations: 4 kB / 1.454 GB, free: 9.094 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/1.49, allocations: 20 kB / 1.454 GB, free: 9.074 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/1.493, allocations: 0.7083 MB / 1.455 GB, free: 8.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.827e-05/1.493, allocations: 16 kB / 1.455 GB, free: 8.395 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/1.496, allocations: 253.1 kB / 1.455 GB, free: 8.145 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/1.496, allocations: 120 kB / 1.455 GB, free: 8.027 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.001334/1.497, allocations: 0.7966 MB / 1.456 GB, free: 7.262 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/1.498, allocations: 288.5 kB / 1.457 GB, free: 6.977 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00678/1.505, allocations: 4.44 MB / 1.461 GB, free: 2.504 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/1.505, allocations: 36 kB / 1.461 GB, free: 2.469 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.505, allocations: 4 kB / 1.461 GB, free: 2.465 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005135/1.51, allocations: 3.799 MB / 1.465 GB, free: 14.6 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/1.523, allocations: 8.634 MB / 1.473 GB, free: 5.914 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.523, allocations: 0 / 1.473 GB, free: 5.914 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003091/1.526, allocations: 0.7287 MB / 1.474 GB, free: 5.223 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.008e-05/1.526, allocations: 12 kB / 1.474 GB, free: 5.211 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/1.526, allocations: 83.98 kB / 1.474 GB, free: 5.129 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.705e-05/1.526, allocations: 26.73 kB / 1.474 GB, free: 5.105 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.526, allocations: 7.984 kB / 1.474 GB, free: 5.098 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008725/1.535, allocations: 6.56 MB / 1.48 GB, free: 14.45 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.537, allocations: 0.7933 MB / 1.481 GB, free: 13.63 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004288/1.537, allocations: 75.98 kB / 1.481 GB, free: 13.56 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.539, allocations: 95.03 kB / 1.481 GB, free: 13.47 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/1.539, allocations: 226.7 kB / 1.481 GB, free: 13.25 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002067/1.54, allocations: 116 kB / 1.482 GB, free: 13.13 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001458/1.541, allocations: 1.165 MB / 1.483 GB, free: 11.95 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.61e-07/1.541, allocations: 3.375 kB / 1.483 GB, free: 11.95 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002452/1.543, allocations: 1.228 MB / 1.484 GB, free: 10.71 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.009415/1.553, allocations: 7.477 MB / 1.491 GB, free: 3.203 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01925/1.572, allocations: 9.832 MB / 1.501 GB, free: 9.445 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.572, allocations: 0 / 1.501 GB, free: 9.445 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00284/1.575, allocations: 2.149 MB / 1.503 GB, free: 7.375 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006684/1.582, allocations: 1.607 MB / 1.504 GB, free: 5.805 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03666/1.618, allocations: 28.84 MB / 1.533 GB, free: 7.461 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/1.62, allocations: 2.205 MB / 1.535 GB, free: 5.219 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003788/1.624, allocations: 1.204 MB / 1.536 GB, free: 4.008 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/1.626, allocations: 1.39 MB / 1.537 GB, free: 2.617 MB / 1.154 GB Notification: Performance of SimCode: time 6.52e-07/1.626, allocations: 0 / 1.537 GB, free: 2.617 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1217/1.748, allocations: 84.81 MB / 1.62 GB, free: 14.8 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.114/10.86, allocations: 12.72 kB / 1.62 GB, free: 14.79 MB / 1.248 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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