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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.009093/0.009093, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001774/0.001774, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.596/1.596, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.764/2.764, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.89 kB / 0.8692 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.7981, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.307/2.105, allocations: 293 MB / 1.303 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0284/2.134, allocations: 17.22 MB / 1.32 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006188/2.14, allocations: 69.31 kB / 1.32 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00657/2.147, allocations: 1.65 MB / 1.322 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02206/2.169, allocations: 6.075 MB / 1.328 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01034/2.179, allocations: 2.677 MB / 1.33 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01761/2.197, allocations: 11.2 MB / 1.341 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005239/2.202, allocations: 2.201 MB / 1.343 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008167/2.21, allocations: 2.418 MB / 1.346 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008801/2.219, allocations: 2.809 MB / 1.349 GB, free: 288 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00194/2.221, allocations: 183.7 kB / 1.349 GB, free: 288 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01987/2.241, allocations: 7.187 MB / 1.356 GB, free: 216 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003878/2.245, allocations: 1.196 MB / 1.357 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008367/2.253, allocations: 1.738 MB / 1.359 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.013/2.266, allocations: 5.057 MB / 1.364 GB, free: 14.47 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/2.266, allocations: 0 / 1.364 GB, free: 14.47 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.015e-06/2.266, allocations: 2.531 kB / 1.364 GB, free: 14.47 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002725/2.267, allocations: 4 kB / 1.364 GB, free: 14.47 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.01859/2.285, allocations: 4.129 MB / 1.368 GB, free: 12.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/2.285, allocations: 9.688 kB / 1.368 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008103/2.293, allocations: 0.9155 MB / 1.369 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005956/2.299, allocations: 1.845 MB / 1.37 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/2.3, allocations: 190.3 kB / 1.371 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/2.301, allocations: 258.9 kB / 1.371 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/2.312, allocations: 3.333 MB / 1.374 GB, free: 8.988 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001787/2.312, allocations: 12.42 kB / 1.374 GB, free: 8.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001006/2.313, allocations: 108.2 kB / 1.374 GB, free: 8.902 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002781/2.314, allocations: 135.3 kB / 1.374 GB, free: 8.875 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009758/2.324, allocations: 3.498 MB / 1.378 GB, free: 7.176 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.02693/2.35, allocations: 12.09 MB / 1.389 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007106/2.358, allocations: 3.514 MB / 1.393 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003749/2.361, allocations: 1.811 MB / 1.395 GB, free: 8.785 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002093/2.364, allocations: 1.493 MB / 1.396 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/2.364, allocations: 68.12 kB / 1.396 GB, free: 6.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=278): time 6.291e-06/2.364, allocations: 4 kB / 1.396 GB, free: 6.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=278): time 0.00885/2.373, allocations: 3.881 MB / 1.4 GB, free: 2.977 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/2.373, allocations: 81.59 kB / 1.4 GB, free: 2.883 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/2.376, allocations: 1.376 MB / 1.401 GB, free: 1.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003169/2.376, allocations: 77.7 kB / 1.401 GB, free: 1.418 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009517/2.377, allocations: 0.9828 MB / 1.402 GB, free: 436 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/2.378, allocations: 0.953 MB / 1.403 GB, free: 15.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009008/2.379, allocations: 412.9 kB / 1.404 GB, free: 15.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001374/2.379, allocations: 301.1 kB / 1.404 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/2.382, allocations: 1.098 MB / 1.405 GB, free: 13.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/2.384, allocations: 1.356 MB / 1.406 GB, free: 12.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004742/2.389, allocations: 2.645 MB / 1.409 GB, free: 9.535 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-05/2.389, allocations: 7.938 kB / 1.409 GB, free: 9.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006106/2.395, allocations: 2.976 MB / 1.412 GB, free: 6.531 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/2.395, allocations: 4.562 kB / 1.412 GB, free: 6.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/2.395, allocations: 8 kB / 1.412 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.445e-05/2.395, allocations: 16 kB / 1.412 GB, free: 6.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/2.397, allocations: 0.5098 MB / 1.412 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.173e-05/2.398, allocations: 18.62 kB / 1.412 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/2.401, allocations: 381.7 kB / 1.413 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/2.401, allocations: 79.98 kB / 1.413 GB, free: 5.555 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.001826/2.403, allocations: 0.649 MB / 1.414 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/2.404, allocations: 233.2 kB / 1.414 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006402/2.411, allocations: 3.11 MB / 1.417 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/2.411, allocations: 36 kB / 1.417 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/2.411, allocations: 0 / 1.417 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004589/2.415, allocations: 2.655 MB / 1.419 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/2.429, allocations: 6.211 MB / 1.426 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/2.429, allocations: 0 / 1.426 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/2.431, allocations: 0.5446 MB / 1.426 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.527e-05/2.431, allocations: 12 kB / 1.426 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/2.432, allocations: 58.7 kB / 1.426 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.711e-05/2.432, allocations: 8 kB / 1.426 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/2.432, allocations: 11.92 kB / 1.426 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008313/2.44, allocations: 4.57 MB / 1.431 GB, free: 3.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/2.442, allocations: 0.6071 MB / 1.431 GB, free: 2.641 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007578/2.443, allocations: 52 kB / 1.431 GB, free: 2.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00297/2.446, allocations: 225.5 kB / 1.431 GB, free: 2.371 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/2.446, allocations: 169.1 kB / 1.432 GB, free: 2.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/2.447, allocations: 79.97 kB / 1.432 GB, free: 2.129 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002129/2.449, allocations: 0.9462 MB / 1.433 GB, free: 1.188 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.81e-07/2.449, allocations: 4 kB / 1.433 GB, free: 1.184 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003637/2.452, allocations: 0.9823 MB / 1.434 GB, free: 204 kB / 1.061 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.0009577/2.453, allocations: 369.5 kB / 1.434 GB, free: 15.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005257/2.459, allocations: 2.762 MB / 1.437 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/2.459, allocations: 1.125 kB / 1.437 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002566/2.461, allocations: 1.512 MB / 1.438 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007781/2.469, allocations: 1.288 MB / 1.439 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/2.483, allocations: 7.38 MB / 1.447 GB, free: 2.965 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/2.486, allocations: 1.895 MB / 1.448 GB, free: 1.031 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/2.488, allocations: 231.4 kB / 1.449 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of SimCode: time 2.956e-06/2.488, allocations: 0 / 1.449 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of Templates: time 0.12/2.608, allocations: 42.81 MB / 1.49 GB, free: 6.25 MB / 1.123 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches