Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_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.007659/0.007659, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.002115/0.002115, allocations: 188 kB / 16.67 MB, free: 5.914 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.121 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 482.4 MB / 0.7548 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 59.91 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3374, allocations: 162.2 MB / 1.241 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9741/1.312, allocations: 314.3 MB / 1.548 GB, free: 13.02 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02888/1.34, allocations: 18.48 MB / 1.566 GB, free: 10.49 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003854/1.344, allocations: 87.56 kB / 1.566 GB, free: 10.41 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.005366/1.35, allocations: 2.148 MB / 1.569 GB, free: 8.246 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01807/1.368, allocations: 7.316 MB / 1.576 GB, free: 0.9023 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.008379/1.376, allocations: 3.222 MB / 1.579 GB, free: 13.68 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01277/1.389, allocations: 9.095 MB / 1.588 GB, free: 4.566 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004725/1.394, allocations: 3.096 MB / 1.591 GB, free: 1.418 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00648/1.4, allocations: 3.621 MB / 1.594 GB, free: 13.79 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005332/1.406, allocations: 3.191 MB / 1.597 GB, free: 10.59 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0007592/1.406, allocations: 400 kB / 1.598 GB, free: 10.2 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/1.421, allocations: 6.979 MB / 1.605 GB, free: 3.207 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002566/1.423, allocations: 1.683 MB / 1.606 GB, free: 1.52 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00375/1.427, allocations: 2.307 MB / 1.609 GB, free: 15.2 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01494/1.442, allocations: 8.22 MB / 1.617 GB, free: 6.957 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.442, allocations: 0 / 1.617 GB, free: 6.957 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.693e-06/1.442, allocations: 0 / 1.617 GB, free: 6.957 MB / 1.311 GB Notification: Performance of Transformations before backend: time 7.256e-05/1.442, allocations: 0 / 1.617 GB, free: 6.957 MB / 1.311 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.01197/1.454, allocations: 5.122 MB / 1.622 GB, free: 1.758 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/1.454, allocations: 12.03 kB / 1.622 GB, free: 1.746 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005827/1.455, allocations: 459.5 kB / 1.622 GB, free: 1.285 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006363/1.461, allocations: 1.028 MB / 1.623 GB, free: 260 kB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/1.465, allocations: 2.265 MB / 1.625 GB, free: 13.94 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/1.465, allocations: 246.4 kB / 1.625 GB, free: 13.7 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005147/1.466, allocations: 331.9 kB / 1.626 GB, free: 13.37 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007579/1.473, allocations: 4.235 MB / 1.63 GB, free: 9.051 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.332e-05/1.474, allocations: 4 kB / 1.63 GB, free: 9.047 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003358/1.474, allocations: 132 kB / 1.63 GB, free: 8.918 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/1.474, allocations: 174.3 kB / 1.63 GB, free: 8.746 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008238/1.482, allocations: 4.787 MB / 1.635 GB, free: 3.949 MB / 1.326 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.02018/1.503, allocations: 14.78 MB / 1.649 GB, free: 4.125 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006722/1.509, allocations: 4.564 MB / 1.654 GB, free: 15.57 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003849/1.513, allocations: 2.455 MB / 1.656 GB, free: 13.11 MB / 1.357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/1.515, allocations: 1.608 MB / 1.658 GB, free: 11.17 MB / 1.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.925e-05/1.515, allocations: 77.58 kB / 1.658 GB, free: 11.08 MB / 1.357 GB Notification: Performance of pre-optimization done (n=392): time 5.48e-06/1.515, allocations: 4 kB / 1.658 GB, free: 11.08 MB / 1.357 GB Notification: Performance of matching and sorting (n=392): time 0.009999/1.525, allocations: 5.545 MB / 1.663 GB, free: 5.512 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/1.525, allocations: 94.48 kB / 1.663 GB, free: 5.406 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/1.528, allocations: 1.686 MB / 1.665 GB, free: 3.68 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.0002317/1.528, allocations: 89.7 kB / 1.665 GB, free: 3.586 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009825/1.529, allocations: 1.153 MB / 1.666 GB, free: 2.422 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/1.53, allocations: 1.39 MB / 1.668 GB, free: 1.02 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009563/1.531, allocations: 0.5508 MB / 1.668 GB, free: 472 kB / 1.357 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.531, allocations: 309.1 kB / 1.668 GB, free: 160 kB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/1.534, allocations: 1.568 MB / 1.67 GB, free: 14.58 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/1.537, allocations: 1.916 MB / 1.672 GB, free: 12.6 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006061/1.543, allocations: 3.766 MB / 1.675 GB, free: 8.746 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/1.543, allocations: 3.938 kB / 1.675 GB, free: 8.742 MB / 1.373 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007328/1.551, allocations: 4.187 MB / 1.68 GB, free: 4.531 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.551, allocations: 8 kB / 1.68 GB, free: 4.523 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/1.551, allocations: 4 kB / 1.68 GB, free: 4.52 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/1.551, allocations: 20 kB / 1.68 GB, free: 4.5 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/1.554, allocations: 0.6988 MB / 1.68 GB, free: 3.801 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.76e-05/1.554, allocations: 27.92 kB / 1.68 GB, free: 3.773 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/1.556, allocations: 265.9 kB / 1.681 GB, free: 3.512 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/1.557, allocations: 116 kB / 1.681 GB, free: 3.398 MB / 1.373 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.001483/1.558, allocations: 0.7977 MB / 1.681 GB, free: 2.59 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005313/1.559, allocations: 302.1 kB / 1.682 GB, free: 2.293 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007881/1.566, allocations: 4.438 MB / 1.686 GB, free: 13.82 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.218e-05/1.567, allocations: 36 kB / 1.686 GB, free: 13.78 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/1.567, allocations: 4 kB / 1.686 GB, free: 13.78 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006062/1.573, allocations: 3.796 MB / 1.69 GB, free: 9.914 MB / 1.389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/1.587, allocations: 8.641 MB / 1.698 GB, free: 1.117 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.587, allocations: 4 kB / 1.698 GB, free: 1.113 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003386/1.59, allocations: 0.722 MB / 1.699 GB, free: 400 kB / 1.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.38e-05/1.59, allocations: 16 kB / 1.699 GB, free: 384 kB / 1.389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/1.59, allocations: 87.97 kB / 1.699 GB, free: 296 kB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.972e-05/1.59, allocations: 16 kB / 1.699 GB, free: 280 kB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.59, allocations: 4 kB / 1.699 GB, free: 276 kB / 1.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/1.601, allocations: 6.593 MB / 1.705 GB, free: 9.574 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/1.603, allocations: 0.8029 MB / 1.706 GB, free: 8.75 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004154/1.603, allocations: 75.98 kB / 1.706 GB, free: 8.676 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/1.605, allocations: 82.23 kB / 1.706 GB, free: 8.598 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004817/1.605, allocations: 238.5 kB / 1.707 GB, free: 8.363 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/1.606, allocations: 116 kB / 1.707 GB, free: 8.25 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.001717/1.607, allocations: 1.161 MB / 1.708 GB, free: 7.066 MB / 1.404 GB Notification: Performance of sort global known variables: time 3.2e-07/1.607, allocations: 0 / 1.708 GB, free: 7.066 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.002601/1.61, allocations: 1.24 MB / 1.709 GB, free: 5.824 MB / 1.404 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.01179/1.622, allocations: 7.489 MB / 1.716 GB, free: 14.23 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.006642/1.629, allocations: 3.947 MB / 1.72 GB, free: 10.27 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.629, allocations: 4 kB / 1.72 GB, free: 10.27 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.003347/1.632, allocations: 2.157 MB / 1.722 GB, free: 8.113 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007143/1.639, allocations: 1.592 MB / 1.724 GB, free: 6.551 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03978/1.679, allocations: 25.83 MB / 1.749 GB, free: 12.35 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/1.681, allocations: 2.213 MB / 1.751 GB, free: 10.1 MB / 1.451 GB Notification: Performance of simCode: alias equations: time 0.003857/1.685, allocations: 1.2 MB / 1.753 GB, free: 8.891 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002274/1.687, allocations: 1.386 MB / 1.754 GB, free: 7.504 MB / 1.451 GB Notification: Performance of SimCode: time 8.42e-07/1.687, allocations: 4 kB / 1.754 GB, free: 7.5 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6688/2.356, allocations: 85.53 MB / 1.837 GB, free: 0.4977 GB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/17.14, allocations: 12 kB / 1.837 GB, free: 0.4977 GB / 1.514 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches