Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_9_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.006817/0.006817, allocations: 103.2 kB / 15.73 MB, free: 6.008 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.001659/0.00166, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7665, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3427/1.109, allocations: 314.1 MB / 1.394 GB, free: 3.09 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02827/1.138, allocations: 18.46 MB / 1.412 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004342/1.142, allocations: 95.5 kB / 1.412 GB, free: 0.5039 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005627/1.148, allocations: 2.14 MB / 1.414 GB, free: 14.35 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01775/1.165, allocations: 7.312 MB / 1.422 GB, free: 7.008 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.008314/1.174, allocations: 3.235 MB / 1.425 GB, free: 3.777 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01133/1.185, allocations: 9.1 MB / 1.434 GB, free: 10.65 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004856/1.19, allocations: 3.108 MB / 1.437 GB, free: 7.48 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00639/1.196, allocations: 3.309 MB / 1.44 GB, free: 4.16 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005857/1.202, allocations: 3.224 MB / 1.443 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001375/1.204, allocations: 404 kB / 1.443 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/1.217, allocations: 6.995 MB / 1.45 GB, free: 9.523 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.002769/1.22, allocations: 1.687 MB / 1.452 GB, free: 7.836 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.004782/1.225, allocations: 2.31 MB / 1.454 GB, free: 5.516 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01652/1.241, allocations: 8.185 MB / 1.462 GB, free: 13.31 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.241, allocations: 8 kB / 1.462 GB, free: 13.3 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.493e-06/1.241, allocations: 0 / 1.462 GB, free: 13.3 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0002122/1.242, allocations: 0 / 1.462 GB, free: 13.3 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.01452/1.256, allocations: 4.993 MB / 1.467 GB, free: 8.238 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.256, allocations: 8.031 kB / 1.467 GB, free: 8.23 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001125/1.257, allocations: 459.5 kB / 1.467 GB, free: 7.77 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007258/1.265, allocations: 1.018 MB / 1.468 GB, free: 6.746 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005299/1.27, allocations: 2.24 MB / 1.471 GB, free: 4.453 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/1.27, allocations: 246.4 kB / 1.471 GB, free: 4.211 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009097/1.271, allocations: 320 kB / 1.471 GB, free: 3.898 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007496/1.279, allocations: 4.245 MB / 1.475 GB, free: 15.57 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.56e-05/1.279, allocations: 4 kB / 1.475 GB, free: 15.57 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003428/1.279, allocations: 135.9 kB / 1.475 GB, free: 15.43 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/1.279, allocations: 174.4 kB / 1.476 GB, free: 15.26 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008219/1.288, allocations: 4.779 MB / 1.48 GB, free: 10.47 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.02257/1.31, allocations: 14.44 MB / 1.494 GB, free: 11.05 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006641/1.317, allocations: 4.548 MB / 1.499 GB, free: 6.5 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003861/1.321, allocations: 2.463 MB / 1.501 GB, free: 4.039 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/1.322, allocations: 1.608 MB / 1.503 GB, free: 2.098 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/1.322, allocations: 81.64 kB / 1.503 GB, free: 2.008 MB / 1.232 GB Notification: Performance of pre-optimization done (n=392): time 6.061e-06/1.322, allocations: 0 / 1.503 GB, free: 2.008 MB / 1.232 GB Notification: Performance of matching and sorting (n=392): time 0.01027/1.333, allocations: 5.531 MB / 1.508 GB, free: 12.45 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/1.333, allocations: 90.48 kB / 1.508 GB, free: 12.35 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/1.336, allocations: 1.685 MB / 1.51 GB, free: 10.62 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0003582/1.336, allocations: 93.7 kB / 1.51 GB, free: 10.52 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008844/1.337, allocations: 1.136 MB / 1.511 GB, free: 9.379 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.338, allocations: 1.32 MB / 1.513 GB, free: 8.039 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/1.339, allocations: 0.543 MB / 1.513 GB, free: 7.488 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 8.475e-05/1.339, allocations: 309.1 kB / 1.513 GB, free: 7.184 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/1.342, allocations: 1.572 MB / 1.515 GB, free: 5.609 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/1.345, allocations: 1.912 MB / 1.517 GB, free: 3.629 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006057/1.351, allocations: 3.77 MB / 1.52 GB, free: 15.77 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/1.351, allocations: 0 / 1.52 GB, free: 15.77 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007336/1.358, allocations: 4.177 MB / 1.525 GB, free: 11.57 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/1.358, allocations: 8 kB / 1.525 GB, free: 11.56 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.358, allocations: 4.656 kB / 1.525 GB, free: 11.55 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/1.358, allocations: 20 kB / 1.525 GB, free: 11.54 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003102/1.362, allocations: 0.6943 MB / 1.525 GB, free: 10.84 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.215e-05/1.362, allocations: 27.88 kB / 1.525 GB, free: 10.81 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/1.365, allocations: 261.1 kB / 1.526 GB, free: 10.55 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003515/1.365, allocations: 127.9 kB / 1.526 GB, free: 10.43 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.001639/1.367, allocations: 0.8015 MB / 1.526 GB, free: 9.617 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008288/1.367, allocations: 288.5 kB / 1.527 GB, free: 9.332 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007878/1.375, allocations: 4.429 MB / 1.531 GB, free: 4.867 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/1.375, allocations: 40 kB / 1.531 GB, free: 4.828 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/1.375, allocations: 3.938 kB / 1.531 GB, free: 4.824 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006068/1.381, allocations: 3.788 MB / 1.535 GB, free: 0.9688 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/1.397, allocations: 8.644 MB / 1.543 GB, free: 8.164 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/1.397, allocations: 4 kB / 1.543 GB, free: 8.16 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003397/1.401, allocations: 0.7259 MB / 1.544 GB, free: 7.434 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.345e-05/1.401, allocations: 16 kB / 1.544 GB, free: 7.418 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003463/1.401, allocations: 87.97 kB / 1.544 GB, free: 7.332 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.828e-05/1.401, allocations: 16 kB / 1.544 GB, free: 7.316 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.401, allocations: 0 / 1.544 GB, free: 7.316 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.411, allocations: 6.572 MB / 1.55 GB, free: 0.6484 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002622/1.414, allocations: 0.8011 MB / 1.551 GB, free: 15.82 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008311/1.415, allocations: 68 kB / 1.551 GB, free: 15.76 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/1.417, allocations: 86.22 kB / 1.551 GB, free: 15.68 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005583/1.418, allocations: 242.5 kB / 1.552 GB, free: 15.44 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003138/1.418, allocations: 111.9 kB / 1.552 GB, free: 15.33 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002076/1.42, allocations: 1.157 MB / 1.553 GB, free: 14.15 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.81e-07/1.42, allocations: 0 / 1.553 GB, free: 14.15 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003067/1.423, allocations: 1.224 MB / 1.554 GB, free: 12.92 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.01113/1.435, allocations: 7.484 MB / 1.561 GB, free: 5.34 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006757/1.441, allocations: 3.945 MB / 1.565 GB, free: 1.383 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.441, allocations: 0 / 1.565 GB, free: 1.383 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003237/1.445, allocations: 2.153 MB / 1.567 GB, free: 15.23 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007551/1.452, allocations: 1.606 MB / 1.569 GB, free: 13.65 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.535/1.987, allocations: 25.68 MB / 1.594 GB, free: 438 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/1.99, allocations: 2.203 MB / 1.596 GB, free: 437.1 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.004282/1.994, allocations: 1.204 MB / 1.597 GB, free: 437 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002413/1.996, allocations: 1.388 MB / 1.599 GB, free: 436 MB / 1.311 GB Notification: Performance of SimCode: time 1.042e-06/1.996, allocations: 0 / 1.599 GB, free: 436 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/2.133, allocations: 85.56 MB / 1.682 GB, free: 396.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/16.73, allocations: 10.41 kB / 1.682 GB, free: 396.1 MB / 1.311 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches