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.01163/0.01163, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.002191/0.002191, allocations: 197.3 kB / 16.68 MB, free: 5.934 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.723/1.723, 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 9.1.3-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 67.89 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.014, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3356/1.349, allocations: 295.1 MB / 1.376 GB, free: 6.195 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02477/1.374, allocations: 17.02 MB / 1.392 GB, free: 5.145 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003744/1.378, allocations: 83.56 kB / 1.392 GB, free: 5.062 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005828/1.384, allocations: 1.978 MB / 1.394 GB, free: 3.074 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01718/1.401, allocations: 6.628 MB / 1.401 GB, free: 12.42 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.008813/1.41, allocations: 2.975 MB / 1.404 GB, free: 9.441 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01203/1.422, allocations: 7.713 MB / 1.411 GB, free: 1.711 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004705/1.427, allocations: 2.595 MB / 1.414 GB, free: 15.05 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005493/1.432, allocations: 2.858 MB / 1.417 GB, free: 12.19 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005213/1.437, allocations: 2.7 MB / 1.419 GB, free: 9.488 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001343/1.439, allocations: 331.9 kB / 1.419 GB, free: 9.164 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01299/1.452, allocations: 6.196 MB / 1.426 GB, free: 2.953 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002522/1.454, allocations: 1.34 MB / 1.427 GB, free: 1.609 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.004796/1.459, allocations: 1.875 MB / 1.429 GB, free: 15.72 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01645/1.476, allocations: 6.891 MB / 1.435 GB, free: 8.816 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.476, allocations: 0 / 1.435 GB, free: 8.816 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.244e-06/1.476, allocations: 4 kB / 1.435 GB, free: 8.812 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.000178/1.476, allocations: 0 / 1.435 GB, free: 8.812 MB / 1.17 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.01237/1.488, allocations: 4.123 MB / 1.439 GB, free: 4.621 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.488, allocations: 8.031 kB / 1.439 GB, free: 4.613 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009162/1.489, allocations: 375 kB / 1.44 GB, free: 4.238 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00655/1.496, allocations: 0.9133 MB / 1.441 GB, free: 3.32 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/1.5, allocations: 1.924 MB / 1.443 GB, free: 1.34 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/1.5, allocations: 193.1 kB / 1.443 GB, free: 1.148 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007083/1.501, allocations: 260 kB / 1.443 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0066/1.508, allocations: 3.342 MB / 1.446 GB, free: 13.45 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.694e-05/1.508, allocations: 4 kB / 1.446 GB, free: 13.45 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003942/1.508, allocations: 115.9 kB / 1.446 GB, free: 13.33 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/1.508, allocations: 137 kB / 1.446 GB, free: 13.2 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006288/1.515, allocations: 3.494 MB / 1.45 GB, free: 9.688 MB / 1.186 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.01925/1.534, allocations: 12.14 MB / 1.462 GB, free: 12.64 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005478/1.539, allocations: 3.503 MB / 1.465 GB, free: 9.059 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003067/1.543, allocations: 1.849 MB / 1.467 GB, free: 7.203 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/1.544, allocations: 1.489 MB / 1.468 GB, free: 5.398 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.641e-05/1.544, allocations: 64.73 kB / 1.469 GB, free: 5.324 MB / 1.201 GB Notification: Performance of pre-optimization done (n=278): time 4.899e-06/1.544, allocations: 0 / 1.469 GB, free: 5.324 MB / 1.201 GB Notification: Performance of matching and sorting (n=278): time 0.007045/1.551, allocations: 3.889 MB / 1.472 GB, free: 1.387 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/1.551, allocations: 81.59 kB / 1.472 GB, free: 1.293 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/1.554, allocations: 1.383 MB / 1.474 GB, free: 15.9 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/1.554, allocations: 73.7 kB / 1.474 GB, free: 15.82 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007137/1.554, allocations: 0.9804 MB / 1.475 GB, free: 14.83 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000914/1.555, allocations: 0.9431 MB / 1.476 GB, free: 13.88 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000694/1.556, allocations: 416.8 kB / 1.476 GB, free: 13.46 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 9.392e-05/1.556, allocations: 301.1 kB / 1.476 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/1.558, allocations: 1.09 MB / 1.477 GB, free: 12.07 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/1.56, allocations: 1.362 MB / 1.479 GB, free: 10.64 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/1.564, allocations: 2.65 MB / 1.481 GB, free: 7.898 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/1.564, allocations: 7.938 kB / 1.481 GB, free: 7.891 MB / 1.217 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004916/1.569, allocations: 2.97 MB / 1.484 GB, free: 4.875 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/1.569, allocations: 4 kB / 1.484 GB, free: 4.871 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.569, allocations: 11.94 kB / 1.484 GB, free: 4.859 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.371e-05/1.569, allocations: 16.56 kB / 1.484 GB, free: 4.844 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/1.571, allocations: 0.5149 MB / 1.485 GB, free: 4.328 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-05/1.571, allocations: 19.94 kB / 1.485 GB, free: 4.309 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.573, allocations: 182 kB / 1.485 GB, free: 4.129 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/1.573, allocations: 83.98 kB / 1.485 GB, free: 4.047 MB / 1.217 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.001175/1.574, allocations: 0.644 MB / 1.486 GB, free: 3.395 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005991/1.575, allocations: 229.3 kB / 1.486 GB, free: 3.168 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005046/1.58, allocations: 3.12 MB / 1.489 GB, free: 15.99 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/1.58, allocations: 28 kB / 1.489 GB, free: 15.96 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.58, allocations: 0 / 1.489 GB, free: 15.96 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003776/1.584, allocations: 2.653 MB / 1.492 GB, free: 13.24 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009631/1.594, allocations: 6.209 MB / 1.498 GB, free: 6.926 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.594, allocations: 0 / 1.498 GB, free: 6.926 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/1.596, allocations: 0.5423 MB / 1.498 GB, free: 6.383 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.466e-05/1.596, allocations: 12 kB / 1.498 GB, free: 6.371 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/1.596, allocations: 59.98 kB / 1.498 GB, free: 6.312 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/1.596, allocations: 8 kB / 1.498 GB, free: 6.305 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.596, allocations: 0 / 1.498 GB, free: 6.305 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006972/1.603, allocations: 4.581 MB / 1.503 GB, free: 1.641 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/1.605, allocations: 0.6071 MB / 1.503 GB, free: 1.012 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003583/1.605, allocations: 48 kB / 1.503 GB, free: 0.9648 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.607, allocations: 61.39 kB / 1.503 GB, free: 0.9062 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/1.607, allocations: 166 kB / 1.504 GB, free: 0.7422 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.607, allocations: 83.97 kB / 1.504 GB, free: 0.6602 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001316/1.609, allocations: 0.9423 MB / 1.505 GB, free: 15.72 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.01e-07/1.609, allocations: 0 / 1.505 GB, free: 15.72 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002479/1.611, allocations: 0.9862 MB / 1.506 GB, free: 14.73 MB / 1.248 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.007286/1.619, allocations: 5.394 MB / 1.511 GB, free: 9.25 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004337/1.623, allocations: 2.771 MB / 1.514 GB, free: 6.449 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.623, allocations: 3.938 kB / 1.514 GB, free: 6.445 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/1.625, allocations: 1.512 MB / 1.515 GB, free: 4.93 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005867/1.631, allocations: 1.342 MB / 1.516 GB, free: 3.609 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0311/1.662, allocations: 19.43 MB / 1.535 GB, free: 15.81 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/1.664, allocations: 1.895 MB / 1.537 GB, free: 13.88 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002916/1.667, allocations: 0.8358 MB / 1.538 GB, free: 13.04 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.668, allocations: 1.093 MB / 1.539 GB, free: 11.95 MB / 1.279 GB Notification: Performance of SimCode: time 3.376e-06/1.668, allocations: 0 / 1.539 GB, free: 11.95 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7409/2.409, allocations: 68.25 MB / 1.606 GB, free: 441.7 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/16.04, allocations: 5.328 kB / 1.606 GB, free: 441.7 MB / 1.311 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