Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.007163/0.007163, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.002008/0.002008, allocations: 202.8 kB / 16.68 MB, free: 5.977 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.497/2.497, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 63.09 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3197, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.054/1.373, allocations: 295.1 MB / 1.376 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02686/1.4, allocations: 17.01 MB / 1.392 GB, free: 5.871 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005639/1.406, allocations: 81.09 kB / 1.392 GB, free: 5.871 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006157/1.412, allocations: 1.972 MB / 1.394 GB, free: 5.277 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.02078/1.433, allocations: 6.636 MB / 1.401 GB, free: 2.789 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009592/1.443, allocations: 2.972 MB / 1.404 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01175/1.454, allocations: 7.711 MB / 1.411 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005143/1.46, allocations: 2.6 MB / 1.414 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007561/1.467, allocations: 2.855 MB / 1.417 GB, free: 9.176 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007449/1.475, allocations: 2.701 MB / 1.419 GB, free: 7.598 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001744/1.476, allocations: 325.7 kB / 1.419 GB, free: 7.598 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01684/1.493, allocations: 6.193 MB / 1.426 GB, free: 4.152 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002623/1.496, allocations: 1.342 MB / 1.427 GB, free: 3.227 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005154/1.501, allocations: 1.882 MB / 1.429 GB, free: 2.043 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01875/1.52, allocations: 6.913 MB / 1.435 GB, free: 11.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.52, allocations: 0 / 1.435 GB, free: 11.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.234e-06/1.52, allocations: 0 / 1.435 GB, free: 11.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001967/1.52, allocations: 0 / 1.435 GB, free: 11.59 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01309/1.533, allocations: 4.23 MB / 1.44 GB, free: 7.281 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.533, allocations: 8.031 kB / 1.44 GB, free: 7.273 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009179/1.534, allocations: 371 kB / 1.44 GB, free: 6.902 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006881/1.541, allocations: 0.9346 MB / 1.441 GB, free: 5.965 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/1.546, allocations: 1.945 MB / 1.443 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/1.546, allocations: 193.1 kB / 1.443 GB, free: 3.773 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007941/1.547, allocations: 256 kB / 1.443 GB, free: 3.523 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006931/1.554, allocations: 3.33 MB / 1.446 GB, free: 92 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.347e-05/1.554, allocations: 11.95 kB / 1.446 GB, free: 80 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/1.554, allocations: 104 kB / 1.447 GB, free: 15.97 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/1.555, allocations: 137 kB / 1.447 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006712/1.561, allocations: 3.498 MB / 1.45 GB, free: 12.33 MB / 1.076 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.0186/1.58, allocations: 12.17 MB / 1.462 GB, free: 15.25 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004958/1.585, allocations: 3.516 MB / 1.465 GB, free: 11.65 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/1.588, allocations: 1.841 MB / 1.467 GB, free: 9.805 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/1.59, allocations: 1.489 MB / 1.469 GB, free: 8 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.264e-05/1.59, allocations: 60.75 kB / 1.469 GB, free: 7.93 MB / 1.092 GB Notification: Performance of pre-optimization done (n=278): time 5.4e-06/1.59, allocations: 4 kB / 1.469 GB, free: 7.926 MB / 1.092 GB Notification: Performance of matching and sorting (n=278): time 0.00731/1.597, allocations: 3.894 MB / 1.473 GB, free: 3.984 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.597, allocations: 81.53 kB / 1.473 GB, free: 3.891 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/1.6, allocations: 1.391 MB / 1.474 GB, free: 2.492 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003369/1.6, allocations: 73.7 kB / 1.474 GB, free: 2.414 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000712/1.601, allocations: 0.9981 MB / 1.475 GB, free: 1.406 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.602, allocations: 0.9952 MB / 1.476 GB, free: 412 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007786/1.602, allocations: 409 kB / 1.476 GB, free: 15.99 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.603, allocations: 309.1 kB / 1.477 GB, free: 15.69 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/1.604, allocations: 1.094 MB / 1.478 GB, free: 14.59 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/1.607, allocations: 1.359 MB / 1.479 GB, free: 13.16 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004143/1.611, allocations: 2.65 MB / 1.482 GB, free: 10.42 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/1.611, allocations: 4 kB / 1.482 GB, free: 10.42 MB / 1.107 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005396/1.616, allocations: 2.986 MB / 1.485 GB, free: 7.387 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.616, allocations: 8 kB / 1.485 GB, free: 7.379 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/1.616, allocations: 4 kB / 1.485 GB, free: 7.375 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/1.616, allocations: 16 kB / 1.485 GB, free: 7.359 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/1.619, allocations: 0.5116 MB / 1.485 GB, free: 6.848 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-05/1.619, allocations: 19.98 kB / 1.485 GB, free: 6.828 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/1.621, allocations: 190.5 kB / 1.485 GB, free: 6.641 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/1.621, allocations: 80 kB / 1.485 GB, free: 6.562 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001416/1.623, allocations: 0.6455 MB / 1.486 GB, free: 5.906 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007998/1.624, allocations: 238.5 kB / 1.486 GB, free: 5.672 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00565/1.629, allocations: 3.123 MB / 1.489 GB, free: 2.488 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/1.629, allocations: 28 kB / 1.489 GB, free: 2.461 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/1.629, allocations: 0 / 1.489 GB, free: 2.461 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004141/1.633, allocations: 2.649 MB / 1.492 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/1.645, allocations: 6.217 MB / 1.498 GB, free: 9.426 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.645, allocations: 0 / 1.498 GB, free: 9.426 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002646/1.648, allocations: 0.5462 MB / 1.498 GB, free: 8.879 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.665e-05/1.648, allocations: 8 kB / 1.498 GB, free: 8.871 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000253/1.648, allocations: 63.92 kB / 1.499 GB, free: 8.809 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.119e-05/1.648, allocations: 12 kB / 1.499 GB, free: 8.797 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.648, allocations: 0 / 1.499 GB, free: 8.797 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007396/1.655, allocations: 4.582 MB / 1.503 GB, free: 4.133 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/1.657, allocations: 0.6199 MB / 1.504 GB, free: 3.492 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006771/1.658, allocations: 51.94 kB / 1.504 GB, free: 3.441 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/1.66, allocations: 67.42 kB / 1.504 GB, free: 3.379 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/1.661, allocations: 166 kB / 1.504 GB, free: 3.215 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002559/1.661, allocations: 75.97 kB / 1.504 GB, free: 3.141 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001896/1.663, allocations: 0.9539 MB / 1.505 GB, free: 2.191 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.71e-07/1.663, allocations: 0 / 1.505 GB, free: 2.191 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003485/1.666, allocations: 0.9867 MB / 1.506 GB, free: 1.203 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.008712/1.675, allocations: 5.411 MB / 1.511 GB, free: 11.7 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004889/1.68, allocations: 2.767 MB / 1.514 GB, free: 8.902 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.68, allocations: 4 kB / 1.514 GB, free: 8.898 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002403/1.682, allocations: 1.507 MB / 1.515 GB, free: 7.387 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007987/1.69, allocations: 1.347 MB / 1.517 GB, free: 6.066 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03773/1.728, allocations: 19.53 MB / 1.536 GB, free: 2.172 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00213/1.73, allocations: 1.895 MB / 1.538 GB, free: 248 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003692/1.734, allocations: 0.8358 MB / 1.538 GB, free: 15.4 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002329/1.736, allocations: 1.089 MB / 1.539 GB, free: 14.31 MB / 1.17 GB Notification: Performance of SimCode: time 9.22e-07/1.736, allocations: 0 / 1.539 GB, free: 14.31 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/1.856, allocations: 68.25 MB / 1.606 GB, free: 10.71 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/15.04, allocations: 6.328 kB / 1.606 GB, free: 10.71 MB / 1.232 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_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_ReverseBuoyancy3Zones.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches