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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001233/0.001233, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.184/1.184, allocations: 222.9 MB / 240.2 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.407/2.407, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 68.48 kB / 0.9082 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2435, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7075/0.9511, allocations: 314.2 MB / 1.37 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02181/0.9729, allocations: 18.45 MB / 1.388 GB, free: 9.941 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002977/0.9759, allocations: 88.84 kB / 1.389 GB, free: 9.941 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004608/0.9805, allocations: 2.145 MB / 1.391 GB, free: 9.309 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01548/0.9961, allocations: 7.312 MB / 1.398 GB, free: 6.039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007346/1.003, allocations: 3.201 MB / 1.401 GB, free: 3.594 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009573/1.013, allocations: 9.113 MB / 1.41 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003324/1.016, allocations: 3.108 MB / 1.413 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004849/1.021, allocations: 3.298 MB / 1.416 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00416/1.025, allocations: 3.228 MB / 1.419 GB, free: 8.859 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005085/1.026, allocations: 402.8 kB / 1.42 GB, free: 8.859 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/1.04, allocations: 7 MB / 1.426 GB, free: 4.988 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001667/1.042, allocations: 1.692 MB / 1.428 GB, free: 3.426 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002682/1.044, allocations: 2.303 MB / 1.43 GB, free: 1.113 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01311/1.057, allocations: 8.13 MB / 1.438 GB, free: 8.957 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.057, allocations: 0 / 1.438 GB, free: 8.957 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.472e-06/1.057, allocations: 0 / 1.438 GB, free: 8.957 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.56e-05/1.057, allocations: 0 / 1.438 GB, free: 8.957 MB / 1.045 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.0101/1.068, allocations: 4.997 MB / 1.443 GB, free: 3.891 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/1.068, allocations: 8.031 kB / 1.443 GB, free: 3.883 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004703/1.068, allocations: 463.5 kB / 1.444 GB, free: 3.418 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00561/1.074, allocations: 1.01 MB / 1.445 GB, free: 2.402 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/1.077, allocations: 2.17 MB / 1.447 GB, free: 184 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/1.077, allocations: 242.5 kB / 1.447 GB, free: 15.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/1.077, allocations: 323.8 kB / 1.447 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005546/1.083, allocations: 4.242 MB / 1.451 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-05/1.083, allocations: 15.91 kB / 1.451 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/1.083, allocations: 139.9 kB / 1.452 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/1.083, allocations: 162.4 kB / 1.452 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006596/1.09, allocations: 4.779 MB / 1.456 GB, free: 6.199 MB / 1.061 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.01515/1.105, allocations: 14.53 MB / 1.471 GB, free: 6.699 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005197/1.11, allocations: 4.543 MB / 1.475 GB, free: 2.148 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/1.113, allocations: 2.444 MB / 1.477 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/1.115, allocations: 1.612 MB / 1.479 GB, free: 13.76 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/1.115, allocations: 77.58 kB / 1.479 GB, free: 13.67 MB / 1.092 GB Notification: Performance of pre-optimization done (n=392): time 4.709e-06/1.115, allocations: 0 / 1.479 GB, free: 13.67 MB / 1.092 GB Notification: Performance of matching and sorting (n=392): time 0.007817/1.123, allocations: 5.531 MB / 1.484 GB, free: 8.117 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/1.123, allocations: 102.5 kB / 1.485 GB, free: 8.004 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/1.124, allocations: 1.678 MB / 1.486 GB, free: 6.285 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001762/1.125, allocations: 93.7 kB / 1.486 GB, free: 6.188 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006614/1.125, allocations: 1.139 MB / 1.487 GB, free: 5.035 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008524/1.126, allocations: 1.313 MB / 1.489 GB, free: 3.703 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007514/1.127, allocations: 0.5507 MB / 1.489 GB, free: 3.145 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 7.433e-05/1.127, allocations: 313 kB / 1.489 GB, free: 2.836 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/1.129, allocations: 1.564 MB / 1.491 GB, free: 1.27 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/1.132, allocations: 1.92 MB / 1.493 GB, free: 15.28 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004968/1.137, allocations: 3.766 MB / 1.497 GB, free: 11.43 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.137, allocations: 0 / 1.497 GB, free: 11.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005764/1.142, allocations: 4.177 MB / 1.501 GB, free: 7.227 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.142, allocations: 8.656 kB / 1.501 GB, free: 7.219 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.143, allocations: 4 kB / 1.501 GB, free: 7.215 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/1.143, allocations: 28 kB / 1.501 GB, free: 7.188 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/1.145, allocations: 0.6904 MB / 1.501 GB, free: 6.496 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.889e-05/1.145, allocations: 31.86 kB / 1.501 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/1.147, allocations: 257.1 kB / 1.502 GB, free: 6.211 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/1.148, allocations: 116 kB / 1.502 GB, free: 6.098 MB / 1.107 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.001154/1.149, allocations: 0.7999 MB / 1.503 GB, free: 5.289 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004323/1.149, allocations: 288.5 kB / 1.503 GB, free: 5.004 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006252/1.156, allocations: 4.44 MB / 1.507 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/1.156, allocations: 40 kB / 1.507 GB, free: 500 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/1.156, allocations: 3.938 kB / 1.507 GB, free: 496 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004797/1.16, allocations: 3.792 MB / 1.511 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/1.171, allocations: 8.644 MB / 1.519 GB, free: 3.816 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.171, allocations: 4 kB / 1.519 GB, free: 3.812 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/1.174, allocations: 0.722 MB / 1.52 GB, free: 3.09 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/1.174, allocations: 19.94 kB / 1.52 GB, free: 3.07 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/1.175, allocations: 87.97 kB / 1.52 GB, free: 2.984 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-05/1.175, allocations: 16 kB / 1.52 GB, free: 2.969 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.175, allocations: 4 kB / 1.52 GB, free: 2.965 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008137/1.183, allocations: 6.566 MB / 1.527 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.184, allocations: 0.7894 MB / 1.527 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/1.184, allocations: 75.98 kB / 1.527 GB, free: 11.42 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.186, allocations: 88.95 kB / 1.527 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003946/1.187, allocations: 246.5 kB / 1.528 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.187, allocations: 116 kB / 1.528 GB, free: 10.98 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001364/1.188, allocations: 1.146 MB / 1.529 GB, free: 9.809 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.233e-06/1.188, allocations: 0 / 1.529 GB, free: 9.809 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002139/1.19, allocations: 1.236 MB / 1.53 GB, free: 8.57 MB / 1.139 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.008903/1.199, allocations: 7.474 MB / 1.537 GB, free: 0.9961 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01829/1.218, allocations: 9.846 MB / 1.547 GB, free: 7.137 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/1.218, allocations: 0 / 1.547 GB, free: 7.137 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002535/1.22, allocations: 2.152 MB / 1.549 GB, free: 4.984 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006033/1.226, allocations: 1.603 MB / 1.551 GB, free: 3.418 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03193/1.258, allocations: 28.82 MB / 1.579 GB, free: 4.996 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/1.26, allocations: 2.205 MB / 1.581 GB, free: 2.754 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.003513/1.263, allocations: 1.212 MB / 1.582 GB, free: 1.535 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/1.265, allocations: 1.386 MB / 1.584 GB, free: 156 kB / 1.186 GB Notification: Performance of SimCode: time 4.91e-07/1.265, allocations: 0 / 1.584 GB, free: 156 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1747/1.439, allocations: 84.81 MB / 1.666 GB, free: 12.13 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.072/10.51, allocations: 5.312 kB / 1.666 GB, free: 12.13 MB / 1.279 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 50 --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