Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_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.008777/0.008777, allocations: 101.6 kB / 15.73 MB, free: 6.449 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.002474/0.002474, allocations: 196.9 kB / 16.68 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.425/2.425, allocations: 222.9 MB / 240.4 MB, free: 4.277 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 4.358/4.358, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003006/0.003007, allocations: 63.91 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4856, allocations: 151.6 MB / 1.166 GB, free: 7.395 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.576/2.062, allocations: 295.1 MB / 1.454 GB, free: 13.54 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04481/2.107, allocations: 17 MB / 1.471 GB, free: 12.49 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006506/2.113, allocations: 79.62 kB / 1.471 GB, free: 12.41 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.009414/2.123, allocations: 1.888 MB / 1.473 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.02997/2.153, allocations: 6.433 MB / 1.479 GB, free: 4.059 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.01367/2.167, allocations: 2.943 MB / 1.482 GB, free: 1.117 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01885/2.186, allocations: 7.709 MB / 1.49 GB, free: 9.383 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006689/2.192, allocations: 2.585 MB / 1.492 GB, free: 6.742 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009908/2.202, allocations: 2.776 MB / 1.495 GB, free: 3.957 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009451/2.212, allocations: 2.702 MB / 1.497 GB, free: 1.262 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001498/2.213, allocations: 324 kB / 1.498 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02313/2.236, allocations: 6.161 MB / 1.504 GB, free: 10.77 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.003984/2.24, allocations: 1.344 MB / 1.505 GB, free: 9.422 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.006387/2.247, allocations: 1.886 MB / 1.507 GB, free: 7.527 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.02605/2.273, allocations: 6.908 MB / 1.514 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/2.273, allocations: 0 / 1.514 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.204e-06/2.273, allocations: 0 / 1.514 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001708/2.273, allocations: 0 / 1.514 GB, free: 0.5977 MB / 1.17 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.02034/2.294, allocations: 4.238 MB / 1.518 GB, free: 12.29 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.34e-05/2.294, allocations: 8.031 kB / 1.518 GB, free: 12.28 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008896/2.295, allocations: 371 kB / 1.518 GB, free: 11.91 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/2.307, allocations: 0.9384 MB / 1.519 GB, free: 10.96 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00793/2.315, allocations: 1.934 MB / 1.521 GB, free: 8.977 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/2.316, allocations: 189.1 kB / 1.521 GB, free: 8.789 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/2.317, allocations: 263.9 kB / 1.521 GB, free: 8.531 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/2.328, allocations: 3.334 MB / 1.525 GB, free: 5.094 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/2.328, allocations: 11.88 kB / 1.525 GB, free: 5.082 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004732/2.328, allocations: 107.9 kB / 1.525 GB, free: 4.977 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002698/2.329, allocations: 137 kB / 1.525 GB, free: 4.84 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/2.341, allocations: 3.498 MB / 1.528 GB, free: 1.328 MB / 1.186 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.03184/2.372, allocations: 12.16 MB / 1.54 GB, free: 4.266 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008976/2.381, allocations: 3.516 MB / 1.544 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00539/2.387, allocations: 1.845 MB / 1.545 GB, free: 14.82 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002678/2.39, allocations: 1.497 MB / 1.547 GB, free: 13.01 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.573e-05/2.39, allocations: 64.75 kB / 1.547 GB, free: 12.94 MB / 1.217 GB Notification: Performance of pre-optimization done (n=278): time 8.005e-06/2.39, allocations: 0 / 1.547 GB, free: 12.94 MB / 1.217 GB Notification: Performance of matching and sorting (n=278): time 0.01287/2.403, allocations: 3.894 MB / 1.551 GB, free: 8.992 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/2.403, allocations: 77.59 kB / 1.551 GB, free: 8.902 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003632/2.406, allocations: 1.387 MB / 1.552 GB, free: 7.508 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004316/2.407, allocations: 77.64 kB / 1.552 GB, free: 7.426 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001357/2.408, allocations: 0.9981 MB / 1.553 GB, free: 6.418 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00175/2.41, allocations: 0.9913 MB / 1.554 GB, free: 5.418 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/2.411, allocations: 416.9 kB / 1.555 GB, free: 5.004 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001983/2.411, allocations: 301.1 kB / 1.555 GB, free: 4.707 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003388/2.415, allocations: 1.094 MB / 1.556 GB, free: 3.609 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003651/2.418, allocations: 1.362 MB / 1.557 GB, free: 2.18 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007691/2.426, allocations: 2.646 MB / 1.56 GB, free: 15.44 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/2.426, allocations: 0 / 1.56 GB, free: 15.44 MB / 1.232 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.009693/2.436, allocations: 2.983 MB / 1.563 GB, free: 12.41 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/2.436, allocations: 8 kB / 1.563 GB, free: 12.41 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/2.436, allocations: 4 kB / 1.563 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.905e-05/2.436, allocations: 20.5 kB / 1.563 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/2.441, allocations: 0.5072 MB / 1.563 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-05/2.441, allocations: 25.33 kB / 1.563 GB, free: 11.85 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004082/2.445, allocations: 190.5 kB / 1.564 GB, free: 11.66 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/2.445, allocations: 80 kB / 1.564 GB, free: 11.59 MB / 1.232 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.002256/2.447, allocations: 0.6455 MB / 1.564 GB, free: 10.93 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/2.449, allocations: 250.4 kB / 1.564 GB, free: 10.68 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009992/2.459, allocations: 3.116 MB / 1.568 GB, free: 7.512 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.934e-05/2.459, allocations: 31.94 kB / 1.568 GB, free: 7.48 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/2.459, allocations: 0 / 1.568 GB, free: 7.48 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008/2.467, allocations: 2.657 MB / 1.57 GB, free: 4.754 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/2.486, allocations: 6.217 MB / 1.576 GB, free: 14.43 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/2.486, allocations: 0 / 1.576 GB, free: 14.43 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005082/2.491, allocations: 0.5423 MB / 1.577 GB, free: 13.89 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.275e-05/2.491, allocations: 11.94 kB / 1.577 GB, free: 13.88 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003053/2.491, allocations: 55.98 kB / 1.577 GB, free: 13.82 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.481e-05/2.491, allocations: 12 kB / 1.577 GB, free: 13.81 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/2.491, allocations: 0 / 1.577 GB, free: 13.81 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/2.504, allocations: 4.582 MB / 1.581 GB, free: 9.145 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/2.507, allocations: 0.6199 MB / 1.582 GB, free: 8.504 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006276/2.507, allocations: 48 kB / 1.582 GB, free: 8.457 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002961/2.51, allocations: 65.59 kB / 1.582 GB, free: 8.395 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005697/2.511, allocations: 162 kB / 1.582 GB, free: 8.234 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003116/2.511, allocations: 79.97 kB / 1.582 GB, free: 8.156 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002397/2.514, allocations: 0.9462 MB / 1.583 GB, free: 7.215 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.6e-07/2.514, allocations: 0 / 1.583 GB, free: 7.215 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003863/2.518, allocations: 0.9905 MB / 1.584 GB, free: 6.223 MB / 1.248 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.01431/2.532, allocations: 5.413 MB / 1.589 GB, free: 0.7227 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008471/2.541, allocations: 2.775 MB / 1.592 GB, free: 13.92 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/2.541, allocations: 0 / 1.592 GB, free: 13.92 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004235/2.545, allocations: 1.512 MB / 1.594 GB, free: 12.4 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01071/2.556, allocations: 1.344 MB / 1.595 GB, free: 11.08 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05673/2.612, allocations: 19.53 MB / 1.614 GB, free: 7.191 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002844/2.615, allocations: 1.902 MB / 1.616 GB, free: 5.25 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.005567/2.621, allocations: 0.8397 MB / 1.617 GB, free: 4.406 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003187/2.624, allocations: 1.089 MB / 1.618 GB, free: 3.316 MB / 1.279 GB Notification: Performance of SimCode: time 1.262e-06/2.624, allocations: 0 / 1.618 GB, free: 3.316 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.209/2.833, allocations: 68.25 MB / 1.684 GB, free: 15.85 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.41/24.24, allocations: 7.375 kB / 1.684 GB, free: 15.85 MB / 1.357 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches