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.00943/0.00943, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002738/0.002738, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.744/2.744, 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 10.1.1-maint.10.0.x/package.mo): time 4.173/4.173, allocations: 437 MB / 0.7105 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 71.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4169, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.37/1.786, allocations: 314.2 MB / 1.473 GB, free: 10.43 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.04601/1.832, allocations: 18.45 MB / 1.491 GB, free: 7.934 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006132/1.839, allocations: 91.56 kB / 1.491 GB, free: 7.844 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.01195/1.851, allocations: 2.152 MB / 1.493 GB, free: 5.68 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.03156/1.882, allocations: 7.304 MB / 1.5 GB, free: 14.34 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01493/1.897, allocations: 3.226 MB / 1.503 GB, free: 11.12 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.02142/1.919, allocations: 9.105 MB / 1.512 GB, free: 1.992 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008827/1.928, allocations: 3.102 MB / 1.515 GB, free: 14.83 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009678/1.937, allocations: 3.317 MB / 1.519 GB, free: 11.5 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009294/1.947, allocations: 3.222 MB / 1.522 GB, free: 8.281 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001951/1.949, allocations: 400 kB / 1.522 GB, free: 7.891 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02192/1.971, allocations: 7.007 MB / 1.529 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004269/1.975, allocations: 1.683 MB / 1.531 GB, free: 15.18 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.007386/1.982, allocations: 2.31 MB / 1.533 GB, free: 12.86 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.02761/2.01, allocations: 8.217 MB / 1.541 GB, free: 4.617 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/2.01, allocations: 0 / 1.541 GB, free: 4.617 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.295e-06/2.01, allocations: 0 / 1.541 GB, free: 4.617 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0002394/2.01, allocations: 0 / 1.541 GB, free: 4.617 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.02349/2.034, allocations: 5.114 MB / 1.546 GB, free: 15.43 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.964e-05/2.034, allocations: 8.031 kB / 1.546 GB, free: 15.42 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00191/2.036, allocations: 463.5 kB / 1.546 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/2.048, allocations: 1.032 MB / 1.547 GB, free: 13.92 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008022/2.056, allocations: 2.265 MB / 1.55 GB, free: 11.6 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003666/2.056, allocations: 246.4 kB / 1.55 GB, free: 11.36 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/2.058, allocations: 327.9 kB / 1.55 GB, free: 11.04 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/2.073, allocations: 4.241 MB / 1.554 GB, free: 6.715 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001722/2.073, allocations: 7.938 kB / 1.554 GB, free: 6.707 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/2.075, allocations: 144 kB / 1.554 GB, free: 6.566 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003157/2.075, allocations: 166.3 kB / 1.555 GB, free: 6.402 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/2.09, allocations: 4.779 MB / 1.559 GB, free: 1.613 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.03613/2.127, allocations: 14.47 MB / 1.573 GB, free: 2.176 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/2.138, allocations: 4.557 MB / 1.578 GB, free: 13.63 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006631/2.144, allocations: 2.459 MB / 1.58 GB, free: 11.16 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002777/2.147, allocations: 1.604 MB / 1.582 GB, free: 9.223 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/2.147, allocations: 77.64 kB / 1.582 GB, free: 9.137 MB / 1.248 GB Notification: Performance of pre-optimization done (n=392): time 1.308e-05/2.147, allocations: 0 / 1.582 GB, free: 9.137 MB / 1.248 GB Notification: Performance of matching and sorting (n=392): time 0.01747/2.165, allocations: 5.548 MB / 1.587 GB, free: 3.566 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/2.165, allocations: 98.48 kB / 1.587 GB, free: 3.457 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/2.169, allocations: 1.682 MB / 1.589 GB, free: 1.734 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0006904/2.17, allocations: 93.7 kB / 1.589 GB, free: 1.637 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.00139/2.171, allocations: 1.157 MB / 1.59 GB, free: 480 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002448/2.174, allocations: 1.383 MB / 1.592 GB, free: 15.07 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002274/2.176, allocations: 0.5547 MB / 1.592 GB, free: 14.51 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001439/2.176, allocations: 304.9 kB / 1.592 GB, free: 14.21 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004628/2.181, allocations: 1.564 MB / 1.594 GB, free: 12.64 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005047/2.186, allocations: 1.923 MB / 1.596 GB, free: 10.65 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009842/2.196, allocations: 3.762 MB / 1.599 GB, free: 6.805 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/2.196, allocations: 0 / 1.599 GB, free: 6.805 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01181/2.208, allocations: 4.19 MB / 1.604 GB, free: 2.59 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/2.208, allocations: 12.64 kB / 1.604 GB, free: 2.578 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/2.208, allocations: 11.98 kB / 1.604 GB, free: 2.566 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.997e-05/2.208, allocations: 20 kB / 1.604 GB, free: 2.547 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00487/2.213, allocations: 0.6982 MB / 1.604 GB, free: 1.848 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.387e-05/2.213, allocations: 19.94 kB / 1.604 GB, free: 1.828 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003966/2.217, allocations: 261.9 kB / 1.605 GB, free: 1.57 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004798/2.217, allocations: 120 kB / 1.605 GB, free: 1.453 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.002449/2.22, allocations: 0.7976 MB / 1.605 GB, free: 0.6445 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/2.221, allocations: 302.1 kB / 1.606 GB, free: 356 kB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/2.233, allocations: 4.438 MB / 1.61 GB, free: 11.87 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.622e-05/2.233, allocations: 36 kB / 1.61 GB, free: 11.83 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/2.233, allocations: 7.922 kB / 1.61 GB, free: 11.82 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009406/2.243, allocations: 3.796 MB / 1.614 GB, free: 7.961 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/2.266, allocations: 8.634 MB / 1.622 GB, free: 15.17 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/2.266, allocations: 8.031 kB / 1.622 GB, free: 15.16 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005277/2.271, allocations: 0.7257 MB / 1.623 GB, free: 14.43 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.501e-05/2.271, allocations: 12 kB / 1.623 GB, free: 14.42 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004207/2.272, allocations: 87.97 kB / 1.623 GB, free: 14.34 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.638e-05/2.272, allocations: 19.94 kB / 1.623 GB, free: 14.32 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/2.272, allocations: 8 kB / 1.623 GB, free: 14.31 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01667/2.288, allocations: 6.585 MB / 1.63 GB, free: 7.625 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003695/2.292, allocations: 0.8068 MB / 1.63 GB, free: 6.797 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009254/2.293, allocations: 72 kB / 1.63 GB, free: 6.727 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003938/2.297, allocations: 86.22 kB / 1.63 GB, free: 6.645 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006939/2.298, allocations: 238.5 kB / 1.631 GB, free: 6.41 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005121/2.298, allocations: 116 kB / 1.631 GB, free: 6.297 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003084/2.301, allocations: 1.149 MB / 1.632 GB, free: 5.125 MB / 1.295 GB Notification: Performance of sort global known variables: time 4.01e-07/2.301, allocations: 0 / 1.632 GB, free: 5.125 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00719/2.308, allocations: 1.244 MB / 1.633 GB, free: 3.879 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.02922/2.338, allocations: 7.503 MB / 1.64 GB, free: 12.28 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01235/2.35, allocations: 3.944 MB / 1.644 GB, free: 8.324 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/2.35, allocations: 4.375 kB / 1.644 GB, free: 8.32 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.006975/2.357, allocations: 2.152 MB / 1.646 GB, free: 6.168 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01344/2.371, allocations: 1.602 MB / 1.648 GB, free: 4.594 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0756/2.446, allocations: 25.81 MB / 1.673 GB, free: 10.41 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00365/2.45, allocations: 2.201 MB / 1.675 GB, free: 8.172 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.007196/2.457, allocations: 1.204 MB / 1.677 GB, free: 6.961 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004538/2.462, allocations: 1.394 MB / 1.678 GB, free: 5.566 MB / 1.342 GB Notification: Performance of SimCode: time 9.42e-07/2.462, allocations: 3.938 kB / 1.678 GB, free: 5.562 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3121/2.774, allocations: 85.55 MB / 1.761 GB, free: 0.8633 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.03/25.81, allocations: 8.016 kB / 1.761 GB, free: 0.8555 MB / 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