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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001299/0.001299, 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.001128/0.001128, allocations: 192.8 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.16/1.16, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.398/2.398, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 62.8 kB / 0.9082 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2451, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7616/1.007, allocations: 295.1 MB / 1.352 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02105/1.028, allocations: 17.03 MB / 1.368 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004003/1.032, allocations: 82.19 kB / 1.369 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003774/1.036, allocations: 1.886 MB / 1.37 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01416/1.05, allocations: 6.433 MB / 1.377 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006774/1.057, allocations: 2.927 MB / 1.38 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009484/1.066, allocations: 7.704 MB / 1.387 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004011/1.07, allocations: 2.593 MB / 1.39 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005795/1.076, allocations: 2.768 MB / 1.392 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005015/1.081, allocations: 2.71 MB / 1.395 GB, free: 8.926 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009482/1.082, allocations: 326.5 kB / 1.395 GB, free: 8.926 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/1.094, allocations: 6.159 MB / 1.401 GB, free: 6.336 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002171/1.097, allocations: 1.33 MB / 1.403 GB, free: 5.438 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004307/1.101, allocations: 1.894 MB / 1.404 GB, free: 4.262 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01442/1.115, allocations: 6.832 MB / 1.411 GB, free: 348 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/1.116, allocations: 6.781 kB / 1.411 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.953e-06/1.116, allocations: 0 / 1.411 GB, free: 344 kB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000211/1.116, allocations: 0 / 1.411 GB, free: 344 kB / 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.01238/1.128, allocations: 4.133 MB / 1.415 GB, free: 13.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.128, allocations: 10.66 kB / 1.415 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008675/1.129, allocations: 366.3 kB / 1.415 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006205/1.135, allocations: 0.9152 MB / 1.416 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/1.139, allocations: 1.841 MB / 1.418 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/1.139, allocations: 191.3 kB / 1.418 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006202/1.14, allocations: 255.2 kB / 1.419 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006192/1.146, allocations: 3.342 MB / 1.422 GB, free: 7.703 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.662e-05/1.146, allocations: 7.906 kB / 1.422 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003841/1.147, allocations: 111.1 kB / 1.422 GB, free: 7.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/1.147, allocations: 141 kB / 1.422 GB, free: 7.449 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005941/1.153, allocations: 3.498 MB / 1.426 GB, free: 3.938 MB / 1.029 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.01591/1.169, allocations: 12.22 MB / 1.437 GB, free: 6.941 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004503/1.173, allocations: 3.508 MB / 1.441 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002609/1.176, allocations: 1.817 MB / 1.443 GB, free: 1.531 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/1.177, allocations: 1.49 MB / 1.444 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/1.177, allocations: 64.75 kB / 1.444 GB, free: 15.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=278): time 4.057e-06/1.177, allocations: 0 / 1.444 GB, free: 15.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=278): time 0.006316/1.184, allocations: 3.881 MB / 1.448 GB, free: 11.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/1.184, allocations: 89.53 kB / 1.448 GB, free: 11.63 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/1.186, allocations: 1.379 MB / 1.449 GB, free: 10.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/1.186, allocations: 77.7 kB / 1.449 GB, free: 10.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/1.187, allocations: 0.9792 MB / 1.45 GB, free: 9.172 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007871/1.187, allocations: 0.9509 MB / 1.451 GB, free: 8.227 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005934/1.188, allocations: 404.9 kB / 1.452 GB, free: 7.824 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/1.188, allocations: 305.1 kB / 1.452 GB, free: 7.523 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/1.19, allocations: 1.094 MB / 1.453 GB, free: 6.426 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/1.191, allocations: 1.359 MB / 1.454 GB, free: 5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/1.195, allocations: 2.646 MB / 1.457 GB, free: 2.262 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.195, allocations: 0 / 1.457 GB, free: 2.262 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004556/1.2, allocations: 2.978 MB / 1.46 GB, free: 15.24 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.2, allocations: 4 kB / 1.46 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/1.2, allocations: 7.938 kB / 1.46 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/1.2, allocations: 16 kB / 1.46 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/1.202, allocations: 0.511 MB / 1.46 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-05/1.202, allocations: 16.31 kB / 1.46 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/1.204, allocations: 189.9 kB / 1.461 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/1.204, allocations: 83.98 kB / 1.461 GB, free: 14.41 MB / 1.076 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.001193/1.206, allocations: 0.6433 MB / 1.461 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006643/1.206, allocations: 229.3 kB / 1.462 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005017/1.211, allocations: 3.124 MB / 1.465 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/1.211, allocations: 28 kB / 1.465 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/1.211, allocations: 0 / 1.465 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003746/1.215, allocations: 2.657 MB / 1.467 GB, free: 7.598 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009709/1.225, allocations: 6.217 MB / 1.473 GB, free: 1.344 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.225, allocations: 4 kB / 1.473 GB, free: 1.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/1.227, allocations: 0.5384 MB / 1.474 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.284e-05/1.227, allocations: 12 kB / 1.474 GB, free: 0.7891 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/1.228, allocations: 59.98 kB / 1.474 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-05/1.228, allocations: 11.98 kB / 1.474 GB, free: 0.7188 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.228, allocations: 8 kB / 1.474 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006516/1.234, allocations: 4.575 MB / 1.478 GB, free: 12.06 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/1.235, allocations: 0.611 MB / 1.479 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/1.236, allocations: 48 kB / 1.479 GB, free: 11.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/1.238, allocations: 62.41 kB / 1.479 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/1.238, allocations: 166 kB / 1.479 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/1.238, allocations: 83.91 kB / 1.479 GB, free: 11.07 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001408/1.24, allocations: 0.9501 MB / 1.48 GB, free: 10.13 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.24, allocations: 0 / 1.48 GB, free: 10.13 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002308/1.242, allocations: 0.9823 MB / 1.481 GB, free: 9.145 MB / 1.092 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.006993/1.249, allocations: 5.388 MB / 1.486 GB, free: 3.676 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.259, allocations: 5.54 MB / 1.492 GB, free: 14.11 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.259, allocations: 0 / 1.492 GB, free: 14.11 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/1.261, allocations: 1.511 MB / 1.493 GB, free: 12.59 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006258/1.268, allocations: 1.354 MB / 1.495 GB, free: 11.27 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0288/1.297, allocations: 21.3 MB / 1.516 GB, free: 4.688 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/1.298, allocations: 1.899 MB / 1.517 GB, free: 2.754 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002955/1.301, allocations: 0.8436 MB / 1.518 GB, free: 1.906 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/1.303, allocations: 1.089 MB / 1.519 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of SimCode: time 5.51e-07/1.303, allocations: 0 / 1.519 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3113/1.614, allocations: 67.69 MB / 1.585 GB, free: 13.79 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/10.37, allocations: 6.578 kB / 1.585 GB, free: 13.79 MB / 1.201 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