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.005799/0.005799, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.001433/0.001433, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.366/1.366, 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.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.69 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2387, 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 0.8363/1.075, allocations: 295.1 MB / 1.376 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02444/1.099, allocations: 17.02 MB / 1.392 GB, free: 5.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003662/1.103, allocations: 81.44 kB / 1.392 GB, free: 5.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004965/1.108, allocations: 1.887 MB / 1.394 GB, free: 5.266 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01549/1.124, allocations: 6.426 MB / 1.4 GB, free: 2.898 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007713/1.131, allocations: 2.955 MB / 1.403 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00952/1.141, allocations: 7.7 MB / 1.411 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/1.145, allocations: 2.603 MB / 1.413 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005151/1.15, allocations: 2.769 MB / 1.416 GB, free: 9.375 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005341/1.156, allocations: 2.702 MB / 1.419 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00113/1.157, allocations: 327.6 kB / 1.419 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/1.17, allocations: 6.163 MB / 1.425 GB, free: 4.367 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002261/1.172, allocations: 1.345 MB / 1.426 GB, free: 3.438 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004316/1.176, allocations: 1.878 MB / 1.428 GB, free: 2.258 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0145/1.191, allocations: 6.889 MB / 1.435 GB, free: 12.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.191, allocations: 0 / 1.435 GB, free: 12.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/1.191, allocations: 0 / 1.435 GB, free: 12.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001541/1.191, allocations: 0 / 1.435 GB, free: 12.02 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.01136/1.203, allocations: 4.123 MB / 1.439 GB, free: 7.828 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/1.203, allocations: 12.03 kB / 1.439 GB, free: 7.816 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007645/1.203, allocations: 375 kB / 1.439 GB, free: 7.441 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006482/1.21, allocations: 0.9093 MB / 1.44 GB, free: 6.527 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004248/1.214, allocations: 1.92 MB / 1.442 GB, free: 4.551 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/1.214, allocations: 201 kB / 1.442 GB, free: 4.352 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007713/1.215, allocations: 256 kB / 1.443 GB, free: 4.102 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006642/1.222, allocations: 3.345 MB / 1.446 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.73e-05/1.222, allocations: 3.938 kB / 1.446 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003633/1.222, allocations: 108 kB / 1.446 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/1.222, allocations: 137 kB / 1.446 GB, free: 420 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006519/1.229, allocations: 3.498 MB / 1.449 GB, free: 12.89 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.01798/1.247, allocations: 12.15 MB / 1.461 GB, free: 15.84 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005172/1.252, allocations: 3.49 MB / 1.465 GB, free: 12.27 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003068/1.255, allocations: 1.849 MB / 1.467 GB, free: 10.42 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/1.257, allocations: 1.493 MB / 1.468 GB, free: 8.609 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/1.257, allocations: 68.69 kB / 1.468 GB, free: 8.531 MB / 1.092 GB Notification: Performance of pre-optimization done (n=278): time 4.919e-06/1.257, allocations: 0 / 1.468 GB, free: 8.531 MB / 1.092 GB Notification: Performance of matching and sorting (n=278): time 0.007016/1.264, allocations: 3.885 MB / 1.472 GB, free: 4.598 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.264, allocations: 81.59 kB / 1.472 GB, free: 4.504 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/1.266, allocations: 1.376 MB / 1.473 GB, free: 3.121 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/1.266, allocations: 77.7 kB / 1.473 GB, free: 3.039 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006789/1.267, allocations: 0.9843 MB / 1.474 GB, free: 2.043 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008525/1.268, allocations: 0.9431 MB / 1.475 GB, free: 1.086 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006724/1.269, allocations: 412.9 kB / 1.476 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 7.749e-05/1.269, allocations: 305.1 kB / 1.476 GB, free: 384 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/1.27, allocations: 1.098 MB / 1.477 GB, free: 15.27 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/1.272, allocations: 1.358 MB / 1.478 GB, free: 13.84 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/1.277, allocations: 2.65 MB / 1.481 GB, free: 11.1 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.277, allocations: 3.938 kB / 1.481 GB, free: 11.1 MB / 1.107 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005142/1.282, allocations: 2.978 MB / 1.484 GB, free: 8.074 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.282, allocations: 8 kB / 1.484 GB, free: 8.066 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.282, allocations: 7.938 kB / 1.484 GB, free: 8.059 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/1.282, allocations: 16.56 kB / 1.484 GB, free: 8.043 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/1.284, allocations: 0.515 MB / 1.484 GB, free: 7.527 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-05/1.284, allocations: 15.94 kB / 1.484 GB, free: 7.512 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/1.287, allocations: 178 kB / 1.485 GB, free: 7.336 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/1.287, allocations: 83.98 kB / 1.485 GB, free: 7.254 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.001221/1.288, allocations: 0.6455 MB / 1.485 GB, free: 6.598 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006645/1.289, allocations: 229.3 kB / 1.485 GB, free: 6.371 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005438/1.294, allocations: 3.119 MB / 1.489 GB, free: 3.195 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/1.294, allocations: 24 kB / 1.489 GB, free: 3.172 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.294, allocations: 0 / 1.489 GB, free: 3.172 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003951/1.298, allocations: 2.665 MB / 1.491 GB, free: 448 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/1.309, allocations: 6.209 MB / 1.497 GB, free: 10.13 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.309, allocations: 0 / 1.497 GB, free: 10.13 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/1.312, allocations: 0.5384 MB / 1.498 GB, free: 9.59 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.309e-05/1.312, allocations: 8 kB / 1.498 GB, free: 9.582 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/1.312, allocations: 71.91 kB / 1.498 GB, free: 9.512 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-05/1.312, allocations: 11.94 kB / 1.498 GB, free: 9.5 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.312, allocations: 0 / 1.498 GB, free: 9.5 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007/1.319, allocations: 4.569 MB / 1.502 GB, free: 4.848 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.32, allocations: 0.6071 MB / 1.503 GB, free: 4.219 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005136/1.321, allocations: 59.86 kB / 1.503 GB, free: 4.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/1.323, allocations: 62.62 kB / 1.503 GB, free: 4.102 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/1.323, allocations: 169.9 kB / 1.503 GB, free: 3.934 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/1.324, allocations: 71.98 kB / 1.503 GB, free: 3.863 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001559/1.325, allocations: 0.9462 MB / 1.504 GB, free: 2.922 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.325, allocations: 0 / 1.504 GB, free: 2.922 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00244/1.328, allocations: 0.9823 MB / 1.505 GB, free: 1.938 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.007596/1.335, allocations: 5.395 MB / 1.51 GB, free: 12.45 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004366/1.34, allocations: 2.775 MB / 1.513 GB, free: 9.641 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.34, allocations: 0 / 1.513 GB, free: 9.641 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002166/1.342, allocations: 1.508 MB / 1.515 GB, free: 8.129 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006905/1.349, allocations: 1.348 MB / 1.516 GB, free: 6.809 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03199/1.381, allocations: 19.45 MB / 1.535 GB, free: 3.008 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/1.382, allocations: 1.895 MB / 1.537 GB, free: 1.078 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003023/1.386, allocations: 0.8358 MB / 1.538 GB, free: 244 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/1.387, allocations: 1.089 MB / 1.539 GB, free: 15.14 MB / 1.17 GB Notification: Performance of SimCode: time 6.51e-07/1.387, allocations: 3.938 kB / 1.539 GB, free: 15.14 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.488, allocations: 68.24 MB / 1.605 GB, free: 11.55 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.66, allocations: 14.25 kB / 1.605 GB, free: 11.54 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