Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001901/0.001901, allocations: 195 kB / 16.14 MB, free: 6.648 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 60.05 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7799/0.7815, allocations: 151.6 MB / 1.017 GB, free: 3.031 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.011/1.793, allocations: 293 MB / 1.303 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02353/1.816, allocations: 17.23 MB / 1.32 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004397/1.821, allocations: 69.12 kB / 1.32 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005121/1.826, allocations: 1.655 MB / 1.321 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01657/1.842, allocations: 6.073 MB / 1.327 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008488/1.851, allocations: 2.674 MB / 1.33 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01281/1.864, allocations: 11.2 MB / 1.341 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00463/1.868, allocations: 2.201 MB / 1.343 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006624/1.875, allocations: 2.42 MB / 1.345 GB, free: 496 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007373/1.882, allocations: 2.806 MB / 1.348 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00169/1.884, allocations: 184.1 kB / 1.348 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01686/1.901, allocations: 7.186 MB / 1.355 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003051/1.904, allocations: 1.201 MB / 1.356 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006909/1.911, allocations: 1.726 MB / 1.358 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01951/1.931, allocations: 7.171 MB / 1.365 GB, free: 13.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.931, allocations: 0 / 1.365 GB, free: 13.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/1.931, allocations: 0 / 1.365 GB, free: 13.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002476/1.931, allocations: 0 / 1.365 GB, free: 13.61 MB / 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.01548/1.946, allocations: 4.129 MB / 1.369 GB, free: 11.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.946, allocations: 11.59 kB / 1.369 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007593/1.954, allocations: 0.9178 MB / 1.37 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005092/1.959, allocations: 1.84 MB / 1.372 GB, free: 9.973 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/1.959, allocations: 202.1 kB / 1.372 GB, free: 9.879 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/1.961, allocations: 250.4 kB / 1.372 GB, free: 9.801 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008865/1.969, allocations: 3.334 MB / 1.375 GB, free: 7.828 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/1.97, allocations: 10.89 kB / 1.375 GB, free: 7.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006854/1.97, allocations: 108.1 kB / 1.376 GB, free: 7.742 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/1.97, allocations: 135.5 kB / 1.376 GB, free: 7.715 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006613/1.977, allocations: 3.497 MB / 1.379 GB, free: 6.02 MB / 1.014 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.01795/1.995, allocations: 12.09 MB / 1.391 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005121/2, allocations: 3.508 MB / 1.394 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00278/2.003, allocations: 1.814 MB / 1.396 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/2.005, allocations: 1.493 MB / 1.398 GB, free: 5.184 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/2.005, allocations: 68.73 kB / 1.398 GB, free: 5.105 MB / 1.029 GB Notification: Performance of pre-optimization done (n=278): time 4.188e-06/2.005, allocations: 0 / 1.398 GB, free: 5.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=278): time 0.006911/2.012, allocations: 3.888 MB / 1.401 GB, free: 1.172 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/2.012, allocations: 77.59 kB / 1.401 GB, free: 1.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/2.014, allocations: 1.383 MB / 1.403 GB, free: 15.69 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002651/2.014, allocations: 77.7 kB / 1.403 GB, free: 15.61 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007315/2.015, allocations: 0.983 MB / 1.404 GB, free: 14.62 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009649/2.016, allocations: 0.9437 MB / 1.405 GB, free: 13.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006254/2.017, allocations: 408.9 kB / 1.405 GB, free: 13.27 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001107/2.017, allocations: 301.1 kB / 1.405 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/2.019, allocations: 1.098 MB / 1.407 GB, free: 11.88 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/2.02, allocations: 1.357 MB / 1.408 GB, free: 10.45 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/2.024, allocations: 2.657 MB / 1.41 GB, free: 7.723 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/2.024, allocations: 3.938 kB / 1.41 GB, free: 7.719 MB / 1.045 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005227/2.03, allocations: 2.973 MB / 1.413 GB, free: 4.727 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/2.03, allocations: 8 kB / 1.413 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/2.03, allocations: 4 kB / 1.413 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/2.03, allocations: 16 kB / 1.413 GB, free: 4.699 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/2.032, allocations: 0.5054 MB / 1.414 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/2.032, allocations: 18.81 kB / 1.414 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/2.035, allocations: 381.7 kB / 1.414 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/2.035, allocations: 83.98 kB / 1.414 GB, free: 3.75 MB / 1.045 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.001371/2.037, allocations: 0.6478 MB / 1.415 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005846/2.037, allocations: 229.3 kB / 1.415 GB, free: 2.895 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/2.042, allocations: 3.119 MB / 1.418 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/2.043, allocations: 27.94 kB / 1.418 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/2.043, allocations: 0 / 1.418 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003908/2.046, allocations: 2.653 MB / 1.421 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/2.057, allocations: 6.214 MB / 1.427 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/2.057, allocations: 4 kB / 1.427 GB, free: 6.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/2.059, allocations: 0.5383 MB / 1.427 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/2.06, allocations: 11 kB / 1.427 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/2.06, allocations: 59.98 kB / 1.428 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/2.06, allocations: 8 kB / 1.428 GB, free: 6.129 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.06, allocations: 11.92 kB / 1.428 GB, free: 6.117 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006965/2.067, allocations: 4.569 MB / 1.432 GB, free: 1.469 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/2.068, allocations: 0.6071 MB / 1.433 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003353/2.069, allocations: 52 kB / 1.433 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/2.071, allocations: 220.7 kB / 1.433 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/2.071, allocations: 169.9 kB / 1.433 GB, free: 416 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/2.071, allocations: 83.97 kB / 1.433 GB, free: 332 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001387/2.073, allocations: 0.9495 MB / 1.434 GB, free: 15.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.2e-07/2.073, allocations: 0 / 1.434 GB, free: 15.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002396/2.075, allocations: 0.9823 MB / 1.435 GB, free: 14.4 MB / 1.076 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.0006658/2.076, allocations: 379.2 kB / 1.435 GB, free: 14.06 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00436/2.08, allocations: 2.759 MB / 1.438 GB, free: 11.31 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/2.08, allocations: 4.312 kB / 1.438 GB, free: 11.31 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/2.082, allocations: 1.507 MB / 1.44 GB, free: 9.848 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00552/2.088, allocations: 1.285 MB / 1.441 GB, free: 8.578 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009976/2.098, allocations: 7.236 MB / 1.448 GB, free: 1.316 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/2.099, allocations: 1.903 MB / 1.45 GB, free: 15.38 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003287/2.102, allocations: 0.8436 MB / 1.451 GB, free: 14.53 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007624/2.103, allocations: 207.4 kB / 1.451 GB, free: 14.32 MB / 1.092 GB Notification: Performance of SimCode: time 1.132e-06/2.103, allocations: 0 / 1.451 GB, free: 14.32 MB / 1.092 GB Notification: Performance of Templates: time 0.07972/2.183, allocations: 47.49 MB / 1.497 GB, free: 15.54 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches