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.008268/0.008268, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001876/0.001876, allocations: 195.2 kB / 16.67 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 3.05/3.05, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 62.7 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2696, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.095/1.365, allocations: 295.1 MB / 1.376 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03114/1.396, allocations: 17.02 MB / 1.392 GB, free: 5.844 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00591/1.402, allocations: 81.38 kB / 1.392 GB, free: 5.844 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00596/1.408, allocations: 1.886 MB / 1.394 GB, free: 5.289 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01827/1.426, allocations: 6.436 MB / 1.4 GB, free: 2.906 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00822/1.434, allocations: 2.954 MB / 1.403 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0111/1.445, allocations: 7.692 MB / 1.411 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004596/1.45, allocations: 2.603 MB / 1.413 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00674/1.457, allocations: 2.813 MB / 1.416 GB, free: 9.359 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006388/1.463, allocations: 2.692 MB / 1.419 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001291/1.465, allocations: 326.8 kB / 1.419 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01439/1.479, allocations: 6.174 MB / 1.425 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002691/1.482, allocations: 1.34 MB / 1.426 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004503/1.486, allocations: 1.88 MB / 1.428 GB, free: 2.246 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01508/1.501, allocations: 6.887 MB / 1.435 GB, free: 11.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/1.501, allocations: 4 kB / 1.435 GB, free: 11.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.853e-06/1.501, allocations: 0 / 1.435 GB, free: 11.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001926/1.502, allocations: 4 kB / 1.435 GB, free: 11.97 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.01255/1.514, allocations: 4.123 MB / 1.439 GB, free: 7.777 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/1.514, allocations: 8.031 kB / 1.439 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001307/1.516, allocations: 371 kB / 1.439 GB, free: 7.398 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008666/1.524, allocations: 0.9132 MB / 1.44 GB, free: 6.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004948/1.529, allocations: 1.92 MB / 1.442 GB, free: 4.504 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/1.529, allocations: 193.1 kB / 1.442 GB, free: 4.312 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008307/1.53, allocations: 260 kB / 1.443 GB, free: 4.059 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007648/1.538, allocations: 3.342 MB / 1.446 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.549e-05/1.538, allocations: 7.938 kB / 1.446 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004883/1.539, allocations: 116 kB / 1.446 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/1.539, allocations: 137 kB / 1.446 GB, free: 364 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006825/1.546, allocations: 3.498 MB / 1.45 GB, free: 12.84 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.01979/1.565, allocations: 12.14 MB / 1.461 GB, free: 15.8 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005291/1.571, allocations: 3.507 MB / 1.465 GB, free: 12.21 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003114/1.574, allocations: 1.853 MB / 1.467 GB, free: 10.36 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001612/1.576, allocations: 1.485 MB / 1.468 GB, free: 8.555 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.004e-05/1.576, allocations: 77.14 kB / 1.468 GB, free: 8.469 MB / 1.092 GB Notification: Performance of pre-optimization done (n=278): time 7.114e-06/1.576, allocations: 4 kB / 1.468 GB, free: 8.465 MB / 1.092 GB Notification: Performance of matching and sorting (n=278): time 0.007254/1.583, allocations: 3.881 MB / 1.472 GB, free: 4.535 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/1.583, allocations: 81.59 kB / 1.472 GB, free: 4.441 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/1.585, allocations: 1.379 MB / 1.473 GB, free: 3.055 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/1.585, allocations: 77.7 kB / 1.473 GB, free: 2.973 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/1.586, allocations: 0.9804 MB / 1.474 GB, free: 1.98 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000898/1.587, allocations: 0.9431 MB / 1.475 GB, free: 1.023 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006661/1.588, allocations: 416.8 kB / 1.476 GB, free: 0.6094 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/1.588, allocations: 309.1 kB / 1.476 GB, free: 312 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/1.59, allocations: 1.09 MB / 1.477 GB, free: 15.21 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/1.592, allocations: 1.358 MB / 1.478 GB, free: 13.79 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/1.596, allocations: 2.65 MB / 1.481 GB, free: 11.04 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/1.596, allocations: 4 kB / 1.481 GB, free: 11.04 MB / 1.107 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00498/1.601, allocations: 2.974 MB / 1.484 GB, free: 8.02 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.601, allocations: 4 kB / 1.484 GB, free: 8.016 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.601, allocations: 8.562 kB / 1.484 GB, free: 8.008 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/1.601, allocations: 12 kB / 1.484 GB, free: 7.996 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/1.603, allocations: 0.5149 MB / 1.484 GB, free: 7.48 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.751e-05/1.603, allocations: 19.94 kB / 1.484 GB, free: 7.461 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/1.605, allocations: 182 kB / 1.485 GB, free: 7.281 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/1.605, allocations: 80 kB / 1.485 GB, free: 7.203 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.001172/1.606, allocations: 0.6416 MB / 1.485 GB, free: 6.551 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00065/1.607, allocations: 233.3 kB / 1.486 GB, free: 6.32 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005091/1.612, allocations: 3.116 MB / 1.489 GB, free: 3.145 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/1.612, allocations: 28 kB / 1.489 GB, free: 3.117 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.088e-06/1.612, allocations: 0 / 1.489 GB, free: 3.117 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003861/1.616, allocations: 2.657 MB / 1.491 GB, free: 400 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/1.626, allocations: 6.209 MB / 1.497 GB, free: 10.08 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.627, allocations: 0 / 1.497 GB, free: 10.08 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/1.629, allocations: 0.5423 MB / 1.498 GB, free: 9.535 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.285e-05/1.629, allocations: 12 kB / 1.498 GB, free: 9.523 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/1.629, allocations: 59.92 kB / 1.498 GB, free: 9.465 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.373e-05/1.629, allocations: 8 kB / 1.498 GB, free: 9.457 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.629, allocations: 0 / 1.498 GB, free: 9.457 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007067/1.636, allocations: 4.581 MB / 1.502 GB, free: 4.793 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.638, allocations: 0.6071 MB / 1.503 GB, free: 4.164 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005049/1.639, allocations: 59.88 kB / 1.503 GB, free: 4.105 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.641, allocations: 65.33 kB / 1.503 GB, free: 4.043 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/1.641, allocations: 166 kB / 1.503 GB, free: 3.879 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/1.641, allocations: 83.97 kB / 1.503 GB, free: 3.797 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001566/1.643, allocations: 0.9423 MB / 1.504 GB, free: 2.859 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.5e-07/1.643, allocations: 0 / 1.504 GB, free: 2.859 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002487/1.645, allocations: 0.9901 MB / 1.505 GB, free: 1.867 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.007646/1.653, allocations: 5.385 MB / 1.51 GB, free: 12.39 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004311/1.657, allocations: 2.771 MB / 1.513 GB, free: 9.59 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.657, allocations: 384 / 1.513 GB, free: 9.59 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/1.659, allocations: 1.511 MB / 1.515 GB, free: 8.074 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006601/1.666, allocations: 1.343 MB / 1.516 GB, free: 6.762 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03184/1.698, allocations: 19.44 MB / 1.535 GB, free: 2.961 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/1.7, allocations: 1.895 MB / 1.537 GB, free: 1.031 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003129/1.703, allocations: 0.8397 MB / 1.538 GB, free: 192 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/1.705, allocations: 1.097 MB / 1.539 GB, free: 15.09 MB / 1.17 GB Notification: Performance of SimCode: time 1.042e-06/1.705, allocations: 0 / 1.539 GB, free: 15.09 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/1.812, allocations: 69.4 MB / 1.606 GB, free: 10.33 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.86/23.67, allocations: 10.31 kB / 1.606 GB, free: 10.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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