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.00133/0.00133, allocations: 112.5 kB / 15.73 MB, free: 76 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.001439/0.001439, allocations: 190.9 kB / 16.66 MB, free: 6.582 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.558/2.558, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 62.64 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3007, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.153/1.453, allocations: 314.1 MB / 1.394 GB, free: 4.355 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0307/1.484, allocations: 18.47 MB / 1.412 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006442/1.491, allocations: 88.84 kB / 1.412 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006571/1.497, allocations: 2.242 MB / 1.415 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02125/1.518, allocations: 7.533 MB / 1.422 GB, free: 1.512 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.009588/1.528, allocations: 3.257 MB / 1.425 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01474/1.543, allocations: 9.121 MB / 1.434 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006231/1.549, allocations: 3.107 MB / 1.437 GB, free: 7.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008436/1.558, allocations: 3.395 MB / 1.44 GB, free: 6.027 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007767/1.565, allocations: 3.233 MB / 1.443 GB, free: 3.168 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001869/1.567, allocations: 404 kB / 1.444 GB, free: 2.773 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01637/1.584, allocations: 7.03 MB / 1.451 GB, free: 11.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003253/1.587, allocations: 1.683 MB / 1.452 GB, free: 10.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006295/1.593, allocations: 2.314 MB / 1.455 GB, free: 7.715 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02049/1.614, allocations: 8.212 MB / 1.463 GB, free: 15.48 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/1.614, allocations: 0 / 1.463 GB, free: 15.48 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.884e-06/1.614, allocations: 0 / 1.463 GB, free: 15.48 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002611/1.614, allocations: 0 / 1.463 GB, free: 15.48 MB / 1.092 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.01781/1.632, allocations: 5.122 MB / 1.468 GB, free: 10.28 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/1.632, allocations: 12.03 kB / 1.468 GB, free: 10.27 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001568/1.634, allocations: 459.5 kB / 1.468 GB, free: 9.809 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0075/1.641, allocations: 1.024 MB / 1.469 GB, free: 8.781 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005233/1.646, allocations: 2.269 MB / 1.471 GB, free: 6.461 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/1.647, allocations: 246.4 kB / 1.472 GB, free: 6.219 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007936/1.647, allocations: 327.9 kB / 1.472 GB, free: 5.898 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009162/1.657, allocations: 4.235 MB / 1.476 GB, free: 1.578 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.493e-05/1.657, allocations: 11.92 kB / 1.476 GB, free: 1.566 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/1.657, allocations: 132 kB / 1.476 GB, free: 1.438 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/1.657, allocations: 174.3 kB / 1.476 GB, free: 1.266 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008356/1.666, allocations: 4.779 MB / 1.481 GB, free: 12.48 MB / 1.107 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.02443/1.69, allocations: 14.47 MB / 1.495 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006351/1.697, allocations: 4.554 MB / 1.5 GB, free: 8.461 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003616/1.7, allocations: 2.455 MB / 1.502 GB, free: 6.008 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/1.702, allocations: 1.608 MB / 1.504 GB, free: 4.066 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.936e-05/1.702, allocations: 77.64 kB / 1.504 GB, free: 3.98 MB / 1.123 GB Notification: Performance of pre-optimization done (n=392): time 5.29e-06/1.702, allocations: 3.938 kB / 1.504 GB, free: 3.977 MB / 1.123 GB Notification: Performance of matching and sorting (n=392): time 0.009658/1.712, allocations: 5.545 MB / 1.509 GB, free: 14.41 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/1.712, allocations: 90.48 kB / 1.509 GB, free: 14.3 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/1.715, allocations: 1.682 MB / 1.511 GB, free: 12.58 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004321/1.715, allocations: 93.7 kB / 1.511 GB, free: 12.48 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008276/1.716, allocations: 1.15 MB / 1.512 GB, free: 11.32 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/1.717, allocations: 1.398 MB / 1.513 GB, free: 9.918 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008593/1.718, allocations: 0.5508 MB / 1.514 GB, free: 9.359 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/1.718, allocations: 305.1 kB / 1.514 GB, free: 9.059 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/1.721, allocations: 1.564 MB / 1.516 GB, free: 7.492 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002908/1.724, allocations: 1.919 MB / 1.518 GB, free: 5.504 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006304/1.73, allocations: 3.766 MB / 1.521 GB, free: 1.652 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-05/1.73, allocations: 4 kB / 1.521 GB, free: 1.648 MB / 1.139 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008062/1.738, allocations: 4.191 MB / 1.525 GB, free: 13.43 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/1.738, allocations: 5.406 kB / 1.525 GB, free: 13.43 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/1.738, allocations: 15.98 kB / 1.525 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-05/1.738, allocations: 20 kB / 1.525 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/1.742, allocations: 0.6904 MB / 1.526 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.086e-05/1.742, allocations: 20.28 kB / 1.526 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/1.745, allocations: 269.9 kB / 1.526 GB, free: 12.42 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004932/1.745, allocations: 120 kB / 1.526 GB, free: 12.3 MB / 1.154 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.002068/1.748, allocations: 0.7937 MB / 1.527 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.749, allocations: 306.1 kB / 1.528 GB, free: 11.2 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008409/1.757, allocations: 4.436 MB / 1.532 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/1.757, allocations: 36 kB / 1.532 GB, free: 6.691 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/1.757, allocations: 4 kB / 1.532 GB, free: 6.688 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006077/1.763, allocations: 3.792 MB / 1.536 GB, free: 2.824 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/1.781, allocations: 8.653 MB / 1.544 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/1.781, allocations: 4 kB / 1.544 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003473/1.784, allocations: 0.7259 MB / 1.545 GB, free: 9.281 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.675e-05/1.784, allocations: 16 kB / 1.545 GB, free: 9.266 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003721/1.785, allocations: 83.98 kB / 1.545 GB, free: 9.184 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.274e-05/1.785, allocations: 15.98 kB / 1.545 GB, free: 9.168 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.785, allocations: 4 kB / 1.545 GB, free: 9.164 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/1.795, allocations: 6.585 MB / 1.551 GB, free: 2.484 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/1.798, allocations: 0.8107 MB / 1.552 GB, free: 1.652 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007653/1.798, allocations: 72 kB / 1.552 GB, free: 1.582 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/1.801, allocations: 84.28 kB / 1.552 GB, free: 1.504 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004653/1.801, allocations: 238.5 kB / 1.552 GB, free: 1.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003042/1.802, allocations: 112 kB / 1.553 GB, free: 1.16 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002167/1.804, allocations: 1.161 MB / 1.554 GB, free: 15.98 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.8e-07/1.804, allocations: 0 / 1.554 GB, free: 15.98 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003528/1.807, allocations: 1.24 MB / 1.555 GB, free: 14.73 MB / 1.186 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.819, allocations: 7.504 MB / 1.562 GB, free: 7.133 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006554/1.825, allocations: 3.952 MB / 1.566 GB, free: 3.168 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/1.825, allocations: 0 / 1.566 GB, free: 3.168 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003317/1.829, allocations: 2.15 MB / 1.568 GB, free: 1.02 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00837/1.837, allocations: 1.597 MB / 1.57 GB, free: 15.45 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04731/1.884, allocations: 25.81 MB / 1.595 GB, free: 5.262 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003218/1.888, allocations: 2.205 MB / 1.597 GB, free: 3.02 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00501/1.893, allocations: 1.208 MB / 1.598 GB, free: 1.805 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002812/1.896, allocations: 1.39 MB / 1.6 GB, free: 424 kB / 1.217 GB Notification: Performance of SimCode: time 1.022e-06/1.896, allocations: 0 / 1.6 GB, free: 424 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.158/2.054, allocations: 85.53 MB / 1.683 GB, free: 11.62 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/17, allocations: 18.02 kB / 1.683 GB, free: 11.61 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