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.005365/0.005365, allocations: 102.5 kB / 15.73 MB, free: 5.508 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.001201/0.001201, allocations: 195.7 kB / 16.67 MB, free: 5.438 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.452/2.452, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.89 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2686, allocations: 151.6 MB / 1.166 GB, free: 7.387 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8436/1.112, allocations: 314.2 MB / 1.473 GB, free: 10.46 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02731/1.14, allocations: 18.45 MB / 1.491 GB, free: 7.969 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003604/1.143, allocations: 87.56 kB / 1.491 GB, free: 7.883 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00553/1.149, allocations: 2.246 MB / 1.493 GB, free: 5.625 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01787/1.167, allocations: 7.534 MB / 1.501 GB, free: 14.06 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.008204/1.175, allocations: 3.255 MB / 1.504 GB, free: 10.81 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01107/1.186, allocations: 9.122 MB / 1.513 GB, free: 1.664 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004877/1.191, allocations: 3.105 MB / 1.516 GB, free: 14.5 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006817/1.198, allocations: 3.403 MB / 1.519 GB, free: 11.09 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006319/1.204, allocations: 3.229 MB / 1.522 GB, free: 7.859 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001238/1.205, allocations: 404 kB / 1.523 GB, free: 7.465 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01365/1.219, allocations: 7.03 MB / 1.529 GB, free: 428 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00247/1.222, allocations: 1.683 MB / 1.531 GB, free: 14.73 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.004523/1.226, allocations: 2.31 MB / 1.533 GB, free: 12.41 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01558/1.242, allocations: 8.212 MB / 1.541 GB, free: 4.172 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.242, allocations: 0 / 1.541 GB, free: 4.172 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.302e-06/1.242, allocations: 0 / 1.541 GB, free: 4.172 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001927/1.242, allocations: 0 / 1.541 GB, free: 4.172 MB / 1.201 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.01431/1.256, allocations: 5.122 MB / 1.546 GB, free: 14.97 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.256, allocations: 12.03 kB / 1.546 GB, free: 14.96 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001084/1.257, allocations: 451.5 kB / 1.547 GB, free: 14.51 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007173/1.265, allocations: 1.032 MB / 1.548 GB, free: 13.47 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005029/1.27, allocations: 2.277 MB / 1.55 GB, free: 11.14 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/1.27, allocations: 242.4 kB / 1.55 GB, free: 10.91 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007635/1.271, allocations: 327.9 kB / 1.551 GB, free: 10.59 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008162/1.279, allocations: 4.243 MB / 1.555 GB, free: 6.258 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.625e-05/1.279, allocations: 8 kB / 1.555 GB, free: 6.25 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004544/1.279, allocations: 132 kB / 1.555 GB, free: 6.121 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/1.28, allocations: 166.3 kB / 1.555 GB, free: 5.957 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008538/1.288, allocations: 4.787 MB / 1.56 GB, free: 1.16 MB / 1.217 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.02039/1.309, allocations: 14.46 MB / 1.574 GB, free: 1.727 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00634/1.315, allocations: 4.555 MB / 1.578 GB, free: 13.18 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003799/1.319, allocations: 2.452 MB / 1.581 GB, free: 10.72 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/1.32, allocations: 1.608 MB / 1.582 GB, free: 8.777 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.703e-05/1.321, allocations: 77.58 kB / 1.582 GB, free: 8.691 MB / 1.248 GB Notification: Performance of pre-optimization done (n=392): time 6.182e-06/1.321, allocations: 4 kB / 1.582 GB, free: 8.688 MB / 1.248 GB Notification: Performance of matching and sorting (n=392): time 0.009733/1.33, allocations: 5.552 MB / 1.588 GB, free: 3.113 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/1.33, allocations: 90.48 kB / 1.588 GB, free: 3.012 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/1.333, allocations: 1.69 MB / 1.589 GB, free: 1.281 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002835/1.333, allocations: 93.7 kB / 1.59 GB, free: 1.184 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008443/1.334, allocations: 1.15 MB / 1.591 GB, free: 24 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/1.336, allocations: 1.39 MB / 1.592 GB, free: 14.62 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009735/1.337, allocations: 0.5547 MB / 1.593 GB, free: 14.05 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.337, allocations: 304.9 kB / 1.593 GB, free: 13.76 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/1.339, allocations: 1.564 MB / 1.594 GB, free: 12.19 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/1.342, allocations: 1.923 MB / 1.596 GB, free: 10.2 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005916/1.348, allocations: 3.765 MB / 1.6 GB, free: 6.348 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/1.348, allocations: 4 kB / 1.6 GB, free: 6.344 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007139/1.355, allocations: 4.187 MB / 1.604 GB, free: 2.133 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.355, allocations: 7.984 kB / 1.604 GB, free: 2.125 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/1.355, allocations: 11.94 kB / 1.604 GB, free: 2.113 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/1.355, allocations: 16 kB / 1.604 GB, free: 2.098 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/1.358, allocations: 0.6982 MB / 1.605 GB, free: 1.398 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.05e-05/1.359, allocations: 24.22 kB / 1.605 GB, free: 1.375 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/1.361, allocations: 265.9 kB / 1.605 GB, free: 1.113 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/1.362, allocations: 121.5 kB / 1.605 GB, free: 0.9961 MB / 1.264 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.001492/1.363, allocations: 0.7938 MB / 1.606 GB, free: 196 kB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008031/1.364, allocations: 306.2 kB / 1.606 GB, free: 15.89 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007479/1.371, allocations: 4.433 MB / 1.611 GB, free: 11.42 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/1.371, allocations: 39.98 kB / 1.611 GB, free: 11.38 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/1.371, allocations: 7.938 kB / 1.611 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005715/1.377, allocations: 3.792 MB / 1.614 GB, free: 7.512 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/1.392, allocations: 8.641 MB / 1.623 GB, free: 14.71 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.392, allocations: 0 / 1.623 GB, free: 14.71 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003337/1.395, allocations: 0.7259 MB / 1.623 GB, free: 13.98 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.087e-05/1.395, allocations: 16 kB / 1.623 GB, free: 13.97 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002871/1.396, allocations: 83.97 kB / 1.624 GB, free: 13.89 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.023e-05/1.396, allocations: 16 kB / 1.624 GB, free: 13.87 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.396, allocations: 4 kB / 1.624 GB, free: 13.87 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009997/1.406, allocations: 6.589 MB / 1.63 GB, free: 7.18 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.408, allocations: 0.8068 MB / 1.631 GB, free: 6.352 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006364/1.408, allocations: 72 kB / 1.631 GB, free: 6.281 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/1.411, allocations: 90.53 kB / 1.631 GB, free: 6.195 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/1.411, allocations: 234.5 kB / 1.631 GB, free: 5.965 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002774/1.411, allocations: 116 kB / 1.631 GB, free: 5.852 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002253/1.414, allocations: 1.157 MB / 1.632 GB, free: 4.672 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.4e-07/1.414, allocations: 0 / 1.632 GB, free: 4.672 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003461/1.417, allocations: 1.24 MB / 1.634 GB, free: 3.43 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.0114/1.429, allocations: 7.492 MB / 1.641 GB, free: 11.84 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.006434/1.435, allocations: 3.955 MB / 1.645 GB, free: 7.871 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.435, allocations: 0 / 1.645 GB, free: 7.871 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.003237/1.438, allocations: 2.15 MB / 1.647 GB, free: 5.723 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007946/1.446, allocations: 1.603 MB / 1.648 GB, free: 4.148 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04364/1.49, allocations: 25.81 MB / 1.674 GB, free: 9.965 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/1.492, allocations: 2.209 MB / 1.676 GB, free: 7.719 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.004003/1.496, allocations: 1.208 MB / 1.677 GB, free: 6.504 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002405/1.499, allocations: 1.39 MB / 1.678 GB, free: 5.113 MB / 1.342 GB Notification: Performance of SimCode: time 6.31e-07/1.499, allocations: 0 / 1.678 GB, free: 5.113 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1316/1.63, allocations: 85.54 MB / 1.762 GB, free: 448 kB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/15.21, allocations: 11.89 kB / 1.762 GB, free: 436 kB / 1.42 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