Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_11_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.007269/0.007269, allocations: 97.02 kB / 15.73 MB, free: 6.055 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.002053/0.002053, allocations: 197.9 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.604/1.604, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 67.89 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3202, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9356/1.256, allocations: 295.1 MB / 1.508 GB, free: 14.09 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02683/1.283, allocations: 17.02 MB / 1.525 GB, free: 13.03 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/1.286, allocations: 79.56 kB / 1.525 GB, free: 12.95 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005082/1.291, allocations: 1.888 MB / 1.527 GB, free: 11.05 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01696/1.308, allocations: 6.433 MB / 1.533 GB, free: 4.594 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.007905/1.316, allocations: 2.947 MB / 1.536 GB, free: 1.648 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01084/1.327, allocations: 7.709 MB / 1.544 GB, free: 9.918 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00442/1.332, allocations: 2.588 MB / 1.546 GB, free: 7.273 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/1.337, allocations: 2.776 MB / 1.549 GB, free: 4.488 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005909/1.343, allocations: 2.686 MB / 1.551 GB, free: 1.805 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001039/1.344, allocations: 332 kB / 1.552 GB, free: 1.48 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/1.358, allocations: 6.173 MB / 1.558 GB, free: 11.29 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002124/1.36, allocations: 1.332 MB / 1.559 GB, free: 9.957 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.004182/1.364, allocations: 1.882 MB / 1.561 GB, free: 8.066 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01455/1.379, allocations: 6.912 MB / 1.568 GB, free: 1.133 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.379, allocations: 7.938 kB / 1.568 GB, free: 1.125 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.703e-06/1.379, allocations: 0 / 1.568 GB, free: 1.125 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001682/1.379, allocations: 0 / 1.568 GB, free: 1.125 MB / 1.248 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.01196/1.391, allocations: 4.236 MB / 1.572 GB, free: 12.81 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.391, allocations: 16.02 kB / 1.572 GB, free: 12.8 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005631/1.391, allocations: 367 kB / 1.572 GB, free: 12.43 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006119/1.397, allocations: 0.9346 MB / 1.573 GB, free: 11.49 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003381/1.401, allocations: 1.937 MB / 1.575 GB, free: 9.5 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/1.401, allocations: 197.1 kB / 1.575 GB, free: 9.305 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/1.401, allocations: 256 kB / 1.575 GB, free: 9.055 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005585/1.407, allocations: 3.334 MB / 1.579 GB, free: 5.617 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.802e-05/1.407, allocations: 3.938 kB / 1.579 GB, free: 5.613 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/1.407, allocations: 104 kB / 1.579 GB, free: 5.512 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/1.408, allocations: 145 kB / 1.579 GB, free: 5.367 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005924/1.413, allocations: 3.494 MB / 1.582 GB, free: 1.859 MB / 1.264 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.01572/1.429, allocations: 12.18 MB / 1.594 GB, free: 4.785 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004916/1.434, allocations: 3.505 MB / 1.598 GB, free: 1.203 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002947/1.437, allocations: 1.845 MB / 1.599 GB, free: 15.36 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/1.439, allocations: 1.493 MB / 1.601 GB, free: 13.55 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.195e-05/1.439, allocations: 60.75 kB / 1.601 GB, free: 13.48 MB / 1.295 GB Notification: Performance of pre-optimization done (n=278): time 4.689e-06/1.439, allocations: 0 / 1.601 GB, free: 13.48 MB / 1.295 GB Notification: Performance of matching and sorting (n=278): time 0.006692/1.445, allocations: 3.906 MB / 1.605 GB, free: 9.523 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/1.446, allocations: 77.59 kB / 1.605 GB, free: 9.434 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/1.447, allocations: 1.383 MB / 1.606 GB, free: 8.043 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/1.448, allocations: 73.7 kB / 1.606 GB, free: 7.965 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000782/1.448, allocations: 0.9981 MB / 1.607 GB, free: 6.957 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009126/1.449, allocations: 0.999 MB / 1.608 GB, free: 5.949 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000649/1.45, allocations: 409 kB / 1.609 GB, free: 5.543 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.45, allocations: 301.1 kB / 1.609 GB, free: 5.246 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/1.452, allocations: 1.102 MB / 1.61 GB, free: 4.141 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/1.454, allocations: 1.355 MB / 1.611 GB, free: 2.719 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004135/1.458, allocations: 2.642 MB / 1.614 GB, free: 15.98 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/1.458, allocations: 7.938 kB / 1.614 GB, free: 15.98 MB / 1.311 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005068/1.463, allocations: 2.983 MB / 1.617 GB, free: 12.95 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.463, allocations: 10.03 kB / 1.617 GB, free: 12.94 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.463, allocations: 7.984 kB / 1.617 GB, free: 12.93 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/1.463, allocations: 19.94 kB / 1.617 GB, free: 12.91 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/1.465, allocations: 0.5075 MB / 1.617 GB, free: 12.41 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/1.466, allocations: 20 kB / 1.617 GB, free: 12.39 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/1.467, allocations: 190.5 kB / 1.618 GB, free: 12.2 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/1.468, allocations: 83.92 kB / 1.618 GB, free: 12.12 MB / 1.311 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.001128/1.469, allocations: 0.6456 MB / 1.618 GB, free: 11.46 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/1.469, allocations: 242.5 kB / 1.618 GB, free: 11.22 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005227/1.474, allocations: 3.107 MB / 1.622 GB, free: 8.059 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/1.474, allocations: 31.94 kB / 1.622 GB, free: 8.027 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/1.474, allocations: 0 / 1.622 GB, free: 8.027 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004063/1.478, allocations: 2.657 MB / 1.624 GB, free: 5.301 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009475/1.488, allocations: 6.221 MB / 1.63 GB, free: 14.97 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.488, allocations: 4 kB / 1.63 GB, free: 14.97 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002482/1.49, allocations: 0.5462 MB / 1.631 GB, free: 14.42 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/1.49, allocations: 8 kB / 1.631 GB, free: 14.41 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/1.491, allocations: 55.98 kB / 1.631 GB, free: 14.36 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/1.491, allocations: 12 kB / 1.631 GB, free: 14.35 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.491, allocations: 0 / 1.631 GB, free: 14.35 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006999/1.498, allocations: 4.582 MB / 1.635 GB, free: 9.684 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/1.499, allocations: 0.6238 MB / 1.636 GB, free: 9.039 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/1.499, allocations: 48 kB / 1.636 GB, free: 8.992 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.501, allocations: 74.56 kB / 1.636 GB, free: 8.922 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/1.501, allocations: 158 kB / 1.636 GB, free: 8.766 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.501, allocations: 83.97 kB / 1.636 GB, free: 8.684 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001344/1.503, allocations: 0.9462 MB / 1.637 GB, free: 7.742 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.3e-07/1.503, allocations: 0 / 1.637 GB, free: 7.742 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002003/1.505, allocations: 0.9867 MB / 1.638 GB, free: 6.754 MB / 1.326 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.007747/1.512, allocations: 5.408 MB / 1.643 GB, free: 1.258 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004499/1.517, allocations: 2.77 MB / 1.646 GB, free: 14.46 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.517, allocations: 7.938 kB / 1.646 GB, free: 14.45 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.002168/1.519, allocations: 1.508 MB / 1.648 GB, free: 12.94 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005636/1.525, allocations: 1.349 MB / 1.649 GB, free: 11.62 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02896/1.554, allocations: 19.53 MB / 1.668 GB, free: 7.723 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/1.555, allocations: 1.903 MB / 1.67 GB, free: 5.781 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.00264/1.558, allocations: 0.8436 MB / 1.671 GB, free: 4.934 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/1.56, allocations: 1.089 MB / 1.672 GB, free: 3.844 MB / 1.357 GB Notification: Performance of SimCode: time 7.52e-07/1.56, allocations: 0 / 1.672 GB, free: 3.844 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.682, allocations: 68.26 MB / 1.738 GB, free: 324 kB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.48/21.16, allocations: 0 / 1.738 GB, free: 324 kB / 1.42 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches