Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001679/0.001679, 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.001993/0.001993, allocations: 194.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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.583/2.583, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.9001, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3905/1.291, allocations: 295.1 MB / 1.238 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8479/2.139, allocations: 17 MB / 1.255 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004837/2.144, allocations: 81.39 kB / 1.255 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005147/2.149, allocations: 1.89 MB / 1.256 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01617/2.165, allocations: 6.441 MB / 1.263 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008858/2.174, allocations: 2.922 MB / 1.266 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01301/2.187, allocations: 7.697 MB / 1.273 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005165/2.192, allocations: 2.598 MB / 1.276 GB, free: 17.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007856/2.2, allocations: 2.765 MB / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006706/2.207, allocations: 2.707 MB / 1.281 GB, free: 17.72 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001177/2.208, allocations: 328.4 kB / 1.281 GB, free: 17.72 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01413/2.222, allocations: 6.163 MB / 1.287 GB, free: 17.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002932/2.225, allocations: 1.338 MB / 1.289 GB, free: 17.66 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004983/2.23, allocations: 1.878 MB / 1.29 GB, free: 17.66 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01567/2.246, allocations: 6.838 MB / 1.297 GB, free: 16.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/2.246, allocations: 1.5 kB / 1.297 GB, free: 16.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.164e-06/2.246, allocations: 0 / 1.297 GB, free: 16.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001684/2.246, allocations: 0 / 1.297 GB, free: 16.92 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01213/2.258, allocations: 4.128 MB / 1.301 GB, free: 15.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/2.258, allocations: 11.12 kB / 1.301 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000511/2.259, allocations: 370.3 kB / 1.302 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00613/2.265, allocations: 0.9191 MB / 1.302 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/2.269, allocations: 1.832 MB / 1.304 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/2.269, allocations: 194.2 kB / 1.304 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004044/2.269, allocations: 259 kB / 1.305 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005379/2.274, allocations: 3.344 MB / 1.308 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-05/2.275, allocations: 7.344 kB / 1.308 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002667/2.275, allocations: 108.6 kB / 1.308 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/2.275, allocations: 140.5 kB / 1.308 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005623/2.281, allocations: 3.493 MB / 1.312 GB, free: 14.19 MB / 1.014 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.01733/2.298, allocations: 12.23 MB / 1.324 GB, free: 8.223 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006399/2.304, allocations: 3.503 MB / 1.327 GB, free: 7.645 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003867/2.308, allocations: 1.825 MB / 1.329 GB, free: 7.602 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002031/2.31, allocations: 1.49 MB / 1.33 GB, free: 5.992 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.118e-05/2.311, allocations: 65.41 kB / 1.33 GB, free: 5.949 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 5.43e-06/2.311, allocations: 6.125 kB / 1.33 GB, free: 5.945 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.009117/2.32, allocations: 3.883 MB / 1.334 GB, free: 5.691 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/2.32, allocations: 82.5 kB / 1.334 GB, free: 5.625 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/2.322, allocations: 1.379 MB / 1.335 GB, free: 5.461 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000637/2.323, allocations: 72.64 kB / 1.336 GB, free: 5.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008761/2.324, allocations: 0.9857 MB / 1.336 GB, free: 5.043 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/2.326, allocations: 0.9498 MB / 1.337 GB, free: 4.418 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008518/2.327, allocations: 406.5 kB / 1.338 GB, free: 4.395 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000124/2.327, allocations: 301.1 kB / 1.338 GB, free: 4.098 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/2.329, allocations: 1.098 MB / 1.339 GB, free: 4.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/2.331, allocations: 1.356 MB / 1.34 GB, free: 3.902 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004868/2.336, allocations: 2.65 MB / 1.343 GB, free: 3.668 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/2.336, allocations: 7.938 kB / 1.343 GB, free: 3.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006532/2.343, allocations: 2.974 MB / 1.346 GB, free: 3.422 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/2.343, allocations: 12.41 kB / 1.346 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/2.343, allocations: 3.281 kB / 1.346 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-05/2.343, allocations: 21 kB / 1.346 GB, free: 3.414 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/2.345, allocations: 0.5066 MB / 1.347 GB, free: 3.414 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.805e-05/2.345, allocations: 18.84 kB / 1.347 GB, free: 3.414 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/2.349, allocations: 190.2 kB / 1.347 GB, free: 3.309 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004633/2.349, allocations: 83.36 kB / 1.347 GB, free: 3.309 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.00223/2.352, allocations: 0.6421 MB / 1.347 GB, free: 3.191 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/2.353, allocations: 234.8 kB / 1.348 GB, free: 3.074 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006333/2.359, allocations: 3.112 MB / 1.351 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-05/2.359, allocations: 26.66 kB / 1.351 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/2.359, allocations: 0 / 1.351 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004787/2.364, allocations: 2.658 MB / 1.353 GB, free: 2.297 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/2.378, allocations: 6.221 MB / 1.359 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/2.378, allocations: 0 / 1.359 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/2.381, allocations: 0.5468 MB / 1.36 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.78e-05/2.381, allocations: 8 kB / 1.36 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003583/2.381, allocations: 55.98 kB / 1.36 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-05/2.381, allocations: 12 kB / 1.36 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/2.381, allocations: 0 / 1.36 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008474/2.39, allocations: 4.572 MB / 1.364 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/2.392, allocations: 0.6109 MB / 1.365 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008361/2.393, allocations: 52 kB / 1.365 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/2.396, allocations: 65.59 kB / 1.365 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004826/2.396, allocations: 166 kB / 1.365 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/2.397, allocations: 79.97 kB / 1.365 GB, free: 8.758 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001804/2.398, allocations: 0.9423 MB / 1.366 GB, free: 7.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.22e-07/2.398, allocations: 0 / 1.366 GB, free: 7.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004544/2.403, allocations: 0.9823 MB / 1.367 GB, free: 6.836 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.01021/2.413, allocations: 5.398 MB / 1.373 GB, free: 1.391 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01453/2.428, allocations: 5.526 MB / 1.378 GB, free: 11.9 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/2.428, allocations: 1.125 kB / 1.378 GB, free: 11.9 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003416/2.431, allocations: 1.511 MB / 1.379 GB, free: 10.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008529/2.44, allocations: 1.344 MB / 1.381 GB, free: 9.121 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05058/2.491, allocations: 21.31 MB / 1.402 GB, free: 2.637 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002808/2.493, allocations: 1.895 MB / 1.403 GB, free: 0.707 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004714/2.498, allocations: 0.8358 MB / 1.404 GB, free: 15.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002555/2.501, allocations: 1.097 MB / 1.405 GB, free: 14.77 MB / 1.076 GB Notification: Performance of SimCode: time 9.21e-07/2.501, allocations: 0 / 1.405 GB, free: 14.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1508/2.652, allocations: 67.7 MB / 1.471 GB, free: 11.93 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.199/11.85, allocations: 4 kB / 1.471 GB, free: 11.93 MB / 1.139 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches