Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_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.001061/0.001061, allocations: 108 kB / 15.61 MB, free: 152 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.001048/0.001048, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.5307, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7421/1.273, allocations: 295.1 MB / 1.306 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01982/1.293, allocations: 17.01 MB / 1.322 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003521/1.296, allocations: 81.47 kB / 1.322 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003957/1.3, allocations: 1.89 MB / 1.324 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01338/1.314, allocations: 6.433 MB / 1.33 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006697/1.32, allocations: 2.93 MB / 1.333 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008823/1.329, allocations: 7.713 MB / 1.341 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003485/1.333, allocations: 2.588 MB / 1.343 GB, free: 16.9 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004928/1.338, allocations: 2.762 MB / 1.346 GB, free: 16.78 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004365/1.342, allocations: 2.7 MB / 1.349 GB, free: 16.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005263/1.343, allocations: 325.8 kB / 1.349 GB, free: 16.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/1.354, allocations: 6.171 MB / 1.355 GB, free: 16.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001802/1.356, allocations: 1.336 MB / 1.356 GB, free: 16.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003691/1.359, allocations: 1.88 MB / 1.358 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01378/1.373, allocations: 6.838 MB / 1.365 GB, free: 14.55 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.373, allocations: 0 / 1.365 GB, free: 14.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/1.373, allocations: 3.438 kB / 1.365 GB, free: 14.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.873e-05/1.373, allocations: 0 / 1.365 GB, free: 14.55 MB / 1.014 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.01005/1.383, allocations: 4.126 MB / 1.369 GB, free: 12.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.383, allocations: 10.97 kB / 1.369 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004354/1.384, allocations: 368.6 kB / 1.369 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/1.39, allocations: 0.9211 MB / 1.37 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/1.392, allocations: 1.843 MB / 1.372 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/1.393, allocations: 194.1 kB / 1.372 GB, free: 10.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003346/1.393, allocations: 261.2 kB / 1.372 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/1.398, allocations: 3.332 MB / 1.376 GB, free: 8.445 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/1.398, allocations: 6.625 kB / 1.376 GB, free: 8.441 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/1.398, allocations: 110.4 kB / 1.376 GB, free: 8.363 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/1.398, allocations: 143.5 kB / 1.376 GB, free: 8.332 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004933/1.403, allocations: 3.498 MB / 1.379 GB, free: 6.633 MB / 1.014 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.01398/1.417, allocations: 12.24 MB / 1.391 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004166/1.421, allocations: 3.49 MB / 1.395 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/1.424, allocations: 1.827 MB / 1.396 GB, free: 8.848 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/1.425, allocations: 1.489 MB / 1.398 GB, free: 7.051 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.425, allocations: 64.75 kB / 1.398 GB, free: 6.977 MB / 1.029 GB Notification: Performance of pre-optimization done (n=278): time 4.048e-06/1.425, allocations: 0 / 1.398 GB, free: 6.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=278): time 0.006132/1.431, allocations: 3.891 MB / 1.402 GB, free: 3.039 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/1.431, allocations: 77.59 kB / 1.402 GB, free: 2.949 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/1.433, allocations: 1.379 MB / 1.403 GB, free: 1.562 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001711/1.433, allocations: 77.7 kB / 1.403 GB, free: 1.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006265/1.434, allocations: 0.9765 MB / 1.404 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007945/1.435, allocations: 0.9501 MB / 1.405 GB, free: 15.55 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005801/1.435, allocations: 412.9 kB / 1.406 GB, free: 15.14 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.22e-05/1.435, allocations: 305.1 kB / 1.406 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/1.437, allocations: 1.094 MB / 1.407 GB, free: 13.74 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/1.439, allocations: 1.357 MB / 1.408 GB, free: 12.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/1.443, allocations: 2.642 MB / 1.411 GB, free: 9.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.443, allocations: 4 kB / 1.411 GB, free: 9.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00467/1.448, allocations: 2.975 MB / 1.414 GB, free: 6.602 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.448, allocations: 8 kB / 1.414 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.448, allocations: 4 kB / 1.414 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/1.448, allocations: 16.56 kB / 1.414 GB, free: 6.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/1.45, allocations: 0.5157 MB / 1.414 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.23e-05/1.45, allocations: 18.62 kB / 1.414 GB, free: 6.074 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/1.453, allocations: 185.9 kB / 1.414 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/1.453, allocations: 83.98 kB / 1.414 GB, free: 5.809 MB / 1.045 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.001485/1.454, allocations: 0.6451 MB / 1.415 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/1.455, allocations: 229.3 kB / 1.415 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/1.46, allocations: 3.112 MB / 1.418 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/1.46, allocations: 28 kB / 1.418 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.46, allocations: 0 / 1.418 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00362/1.463, allocations: 2.656 MB / 1.421 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008461/1.472, allocations: 6.219 MB / 1.427 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.472, allocations: 0 / 1.427 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002357/1.474, allocations: 0.5442 MB / 1.428 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/1.474, allocations: 8 kB / 1.428 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/1.474, allocations: 63.86 kB / 1.428 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/1.474, allocations: 15.98 kB / 1.428 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.474, allocations: 0 / 1.428 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006046/1.48, allocations: 4.575 MB / 1.432 GB, free: 3.527 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.481, allocations: 0.6071 MB / 1.433 GB, free: 2.898 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/1.482, allocations: 51.94 kB / 1.433 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/1.483, allocations: 72.98 kB / 1.433 GB, free: 2.777 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/1.484, allocations: 162 kB / 1.433 GB, free: 2.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.484, allocations: 79.97 kB / 1.433 GB, free: 2.539 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001155/1.485, allocations: 0.9423 MB / 1.434 GB, free: 1.602 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.4e-07/1.485, allocations: 0 / 1.434 GB, free: 1.602 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001918/1.487, allocations: 0.9823 MB / 1.435 GB, free: 0.6172 MB / 1.061 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.006806/1.494, allocations: 5.398 MB / 1.44 GB, free: 11.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.504, allocations: 5.537 MB / 1.446 GB, free: 5.672 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.504, allocations: 0 / 1.446 GB, free: 5.672 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/1.506, allocations: 1.51 MB / 1.447 GB, free: 4.211 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005532/1.512, allocations: 1.346 MB / 1.448 GB, free: 2.895 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/1.539, allocations: 21.3 MB / 1.469 GB, free: 12.37 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/1.54, allocations: 1.895 MB / 1.471 GB, free: 10.44 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002789/1.543, allocations: 0.8474 MB / 1.472 GB, free: 9.586 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.544, allocations: 1.089 MB / 1.473 GB, free: 8.496 MB / 1.107 GB Notification: Performance of SimCode: time 5.31e-07/1.544, allocations: 4 kB / 1.473 GB, free: 8.492 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09878/1.643, allocations: 67.68 MB / 1.539 GB, free: 5.633 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.498/10.14, allocations: 21.23 kB / 1.539 GB, free: 5.617 MB / 1.17 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches