Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_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.008833/0.008833, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.002041/0.002041, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.451/2.451, allocations: 469.4 MB / 0.7422 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 60.14 kB / 1.064 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.8489, allocations: 159.1 MB / 1.22 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2761/1.125, allocations: 295.1 MB / 1.508 GB, free: 10.02 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02385/1.149, allocations: 17.02 MB / 1.525 GB, free: 8.969 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003755/1.153, allocations: 83.56 kB / 1.525 GB, free: 8.887 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.005149/1.158, allocations: 1.978 MB / 1.527 GB, free: 6.898 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.0163/1.174, allocations: 6.622 MB / 1.533 GB, free: 256 kB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00808/1.182, allocations: 2.99 MB / 1.536 GB, free: 13.26 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.009798/1.192, allocations: 7.711 MB / 1.543 GB, free: 5.527 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004321/1.197, allocations: 2.602 MB / 1.546 GB, free: 2.863 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00553/1.202, allocations: 2.846 MB / 1.549 GB, free: 8 kB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005347/1.208, allocations: 2.704 MB / 1.551 GB, free: 13.31 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001136/1.209, allocations: 332 kB / 1.552 GB, free: 12.98 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01254/1.221, allocations: 6.196 MB / 1.558 GB, free: 6.773 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002164/1.223, allocations: 1.34 MB / 1.559 GB, free: 5.43 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003767/1.227, allocations: 1.883 MB / 1.561 GB, free: 3.539 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.757/1.984, allocations: 6.901 MB / 1.568 GB, free: 25.27 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/1.984, allocations: 0.5 kB / 1.568 GB, free: 25.27 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.194e-06/1.984, allocations: 0 / 1.568 GB, free: 25.27 MB / 1.279 GB Notification: Performance of Transformations before backend: time 9.862e-05/1.984, allocations: 0.5625 kB / 1.568 GB, free: 25.27 MB / 1.279 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.01214/1.997, allocations: 4.231 MB / 1.572 GB, free: 23.53 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.997, allocations: 11.06 kB / 1.572 GB, free: 23.53 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005247/1.997, allocations: 369.6 kB / 1.572 GB, free: 23.48 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006258/2.003, allocations: 0.9268 MB / 1.573 GB, free: 23.3 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004117/2.008, allocations: 1.936 MB / 1.575 GB, free: 22.77 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/2.008, allocations: 193.7 kB / 1.575 GB, free: 22.76 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000428/2.008, allocations: 260.4 kB / 1.575 GB, free: 22.76 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005949/2.014, allocations: 3.339 MB / 1.579 GB, free: 22.47 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.005e-05/2.014, allocations: 6.391 kB / 1.579 GB, free: 22.46 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/2.015, allocations: 107.4 kB / 1.579 GB, free: 22.46 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/2.015, allocations: 139.3 kB / 1.579 GB, free: 22.46 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00574/2.02, allocations: 3.498 MB / 1.582 GB, free: 22.43 MB / 1.279 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.01523/2.036, allocations: 12.17 MB / 1.594 GB, free: 16.48 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/2.04, allocations: 3.503 MB / 1.598 GB, free: 15.9 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/2.042, allocations: 1.854 MB / 1.599 GB, free: 15.88 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/2.043, allocations: 1.487 MB / 1.601 GB, free: 14.28 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/2.043, allocations: 70.88 kB / 1.601 GB, free: 14.23 MB / 1.279 GB Notification: Performance of pre-optimization done (n=278): time 5.01e-06/2.043, allocations: 0.9375 kB / 1.601 GB, free: 14.23 MB / 1.279 GB Notification: Performance of matching and sorting (n=278): time 0.005741/2.049, allocations: 3.895 MB / 1.605 GB, free: 13.97 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/2.049, allocations: 79.38 kB / 1.605 GB, free: 13.9 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/2.051, allocations: 1.377 MB / 1.606 GB, free: 13.74 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/2.051, allocations: 74.8 kB / 1.606 GB, free: 13.71 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00052/2.051, allocations: 1.012 MB / 1.607 GB, free: 13.3 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006819/2.052, allocations: 0.9885 MB / 1.608 GB, free: 12.64 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005741/2.053, allocations: 407.8 kB / 1.609 GB, free: 12.62 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.152e-05/2.053, allocations: 304.7 kB / 1.609 GB, free: 12.32 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/2.054, allocations: 1.095 MB / 1.61 GB, free: 12.31 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/2.056, allocations: 1.352 MB / 1.611 GB, free: 12.13 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/2.059, allocations: 2.65 MB / 1.614 GB, free: 11.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/2.059, allocations: 4.312 kB / 1.614 GB, free: 11.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004155/2.064, allocations: 2.992 MB / 1.617 GB, free: 11.65 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/2.064, allocations: 6.844 kB / 1.617 GB, free: 11.65 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/2.064, allocations: 7.094 kB / 1.617 GB, free: 11.65 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/2.064, allocations: 16.56 kB / 1.617 GB, free: 11.65 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/2.066, allocations: 0.5067 MB / 1.617 GB, free: 11.65 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/2.066, allocations: 21.14 kB / 1.617 GB, free: 11.65 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/2.068, allocations: 195.3 kB / 1.618 GB, free: 11.54 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/2.068, allocations: 82.89 kB / 1.618 GB, free: 11.54 MB / 1.279 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.001122/2.069, allocations: 0.6441 MB / 1.618 GB, free: 11.43 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/2.07, allocations: 243.5 kB / 1.618 GB, free: 11.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/2.074, allocations: 3.109 MB / 1.622 GB, free: 11.13 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/2.074, allocations: 27.19 kB / 1.622 GB, free: 11.13 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/2.074, allocations: 3.844 kB / 1.622 GB, free: 11.13 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003329/2.077, allocations: 2.657 MB / 1.624 GB, free: 10.88 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008986/2.086, allocations: 6.209 MB / 1.63 GB, free: 10.37 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/2.086, allocations: 0 / 1.63 GB, free: 10.37 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002374/2.089, allocations: 0.5446 MB / 1.631 GB, free: 10.37 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/2.089, allocations: 11.59 kB / 1.631 GB, free: 10.37 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/2.089, allocations: 63.03 kB / 1.631 GB, free: 10.37 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-05/2.089, allocations: 10.22 kB / 1.631 GB, free: 10.37 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.089, allocations: 7.75 kB / 1.631 GB, free: 10.36 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006241/2.095, allocations: 4.583 MB / 1.635 GB, free: 9.949 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/2.097, allocations: 0.6244 MB / 1.636 GB, free: 9.691 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003786/2.097, allocations: 48.94 kB / 1.636 GB, free: 9.691 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/2.099, allocations: 67.16 kB / 1.636 GB, free: 9.691 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/2.099, allocations: 165.9 kB / 1.636 GB, free: 9.688 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/2.099, allocations: 83.62 kB / 1.636 GB, free: 9.688 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001541/2.101, allocations: 0.944 MB / 1.637 GB, free: 9.578 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.11e-07/2.101, allocations: 0 / 1.637 GB, free: 9.578 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002988/2.104, allocations: 0.9909 MB / 1.638 GB, free: 9.457 MB / 1.279 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.006998/2.111, allocations: 5.393 MB / 1.643 GB, free: 8.516 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004178/2.115, allocations: 2.771 MB / 1.646 GB, free: 8.441 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/2.115, allocations: 0.8438 kB / 1.646 GB, free: 8.441 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/2.117, allocations: 1.509 MB / 1.648 GB, free: 8.426 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007081/2.124, allocations: 1.346 MB / 1.649 GB, free: 8.25 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/2.156, allocations: 19.54 MB / 1.668 GB, free: 19.98 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/2.158, allocations: 1.902 MB / 1.67 GB, free: 19.19 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003198/2.162, allocations: 0.8468 MB / 1.671 GB, free: 19.03 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/2.163, allocations: 1.091 MB / 1.672 GB, free: 19.02 MB / 1.295 GB Notification: Performance of SimCode: time 2.044e-06/2.163, allocations: 0 / 1.672 GB, free: 19.02 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/2.27, allocations: 68.24 MB / 1.738 GB, free: 15.6 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/14.26, allocations: 13.42 kB / 1.738 GB, free: 15.59 MB / 1.342 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches